diff options
| author | Oscar Fuentes <ofv@wanadoo.es> | 2014-11-17 23:06:13 +0100 |
|---|---|---|
| committer | Oscar Fuentes <ofv@wanadoo.es> | 2014-11-17 23:10:00 +0100 |
| commit | 81e0cca7bbc99dbfda898a8aaab740ae121cf045 (patch) | |
| tree | 7ee980226205173954792911af2d0d51686d5926 /nt/addpm.c | |
| parent | 67a22c6062fdaff39c27611d21cd5866661f8e15 (diff) | |
| download | emacs-81e0cca7bbc99dbfda898a8aaab740ae121cf045.tar.gz | |
Define MINGW_W64 and use it instead of _W64
... for detecting MinGW-w64. _W64 is not specific of MinGW-w64, it is
defined for compatibility with MS VC++.
* nt/inc/ms-w32.h: Define MINGW_W64.
* admin/CPP-DEFINES: Mention MINGW_W64.
* nt/addpm.c: Use it.
* nt/addsection.c: Use it.
* nt/preprep.c: Use it.
* src/w32.c: Use MINGW_W64 instead of _W64
* src/w32term.c: Likewise.
Diffstat (limited to 'nt/addpm.c')
| -rw-r--r-- | nt/addpm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nt/addpm.c b/nt/addpm.c index 18057b58b49..f7cfba39d08 100644 --- a/nt/addpm.c +++ b/nt/addpm.c @@ -38,9 +38,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include <stdio.h> #include <malloc.h> -/* MinGW64 defines _W64 and barfs if _WIN32_IE is defined to anything - below 0x500. */ -#ifndef _W64 +/* MinGW64 barfs if _WIN32_IE is defined to anything below 0x500. */ +#ifndef MINGW_W64 #define _WIN32_IE 0x400 #endif /* Request C Object macros for COM interfaces. */ |
