mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-13 09:30:24 -08:00
Avoid compilation warning in nt/addpm.c
* nt/addpm.c [!MINGW_W64]: Undefine _WIN32_IE before redefining it, to avoid compilation warnings.
This commit is contained in:
parent
7bc9ce7431
commit
22d1f534a1
1 changed files with 5 additions and 2 deletions
|
|
@ -38,9 +38,12 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
||||||
/* MinGW64 barfs if _WIN32_IE is defined to anything below 0x500. */
|
/* MinGW64 barfs if _WIN32_IE is defined to anything below 0x0500. */
|
||||||
#ifndef MINGW_W64
|
#ifndef MINGW_W64
|
||||||
#define _WIN32_IE 0x400
|
# ifdef _WIN32_IE
|
||||||
|
# undef _WIN32_IE
|
||||||
|
# endif
|
||||||
|
#define _WIN32_IE 0x0400
|
||||||
#endif
|
#endif
|
||||||
/* Request C Object macros for COM interfaces. */
|
/* Request C Object macros for COM interfaces. */
|
||||||
#define COBJMACROS 1
|
#define COBJMACROS 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue