Commit 22d1f534 authored by Eli Zaretskii's avatar Eli Zaretskii

Avoid compilation warning in nt/addpm.c

* nt/addpm.c [!MINGW_W64]: Undefine _WIN32_IE before
redefining it, to avoid compilation warnings.
parent 7bc9ce74
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment