mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-16 17:19:41 +00: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
@ -38,9 +38,12 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
||||
#include <stdio.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
|
||||
#define _WIN32_IE 0x400
|
||||
# ifdef _WIN32_IE
|
||||
# undef _WIN32_IE
|
||||
# endif
|
||||
#define _WIN32_IE 0x0400
|
||||
#endif
|
||||
/* Request C Object macros for COM interfaces. */
|
||||
#define COBJMACROS 1
|
||||
|
Loading…
Reference in New Issue
Block a user