diff options
| author | Oscar Fuentes | 2014-11-17 23:06:13 +0100 |
|---|---|---|
| committer | Oscar Fuentes | 2014-11-17 23:10:00 +0100 |
| commit | 81e0cca7bbc99dbfda898a8aaab740ae121cf045 (patch) | |
| tree | 7ee980226205173954792911af2d0d51686d5926 /admin/CPP-DEFINES | |
| parent | 67a22c6062fdaff39c27611d21cd5866661f8e15 (diff) | |
| download | emacs-81e0cca7bbc99dbfda898a8aaab740ae121cf045.tar.gz emacs-81e0cca7bbc99dbfda898a8aaab740ae121cf045.zip | |
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 'admin/CPP-DEFINES')
| -rw-r--r-- | admin/CPP-DEFINES | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index 27d87dcaa2a..e475b422500 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES | |||
| @@ -19,8 +19,9 @@ __MSDOS__ Ditto. | |||
| 19 | __DJGPP_MINOR__ Minor version number of the DJGPP library; used only in msdos.c and dosfns.c. | 19 | __DJGPP_MINOR__ Minor version number of the DJGPP library; used only in msdos.c and dosfns.c. |
| 20 | DOS_NT Compiling for either the MS-DOS or native MS-Windows port. | 20 | DOS_NT Compiling for either the MS-DOS or native MS-Windows port. |
| 21 | WINDOWSNT Compiling the native MS-Windows (W32) port. | 21 | WINDOWSNT Compiling the native MS-Windows (W32) port. |
| 22 | __MINGW32__ Compiling the W32 port with the MinGW port of GCC. | 22 | __MINGW32__ Compiling the W32 port with the MinGW or MinGW-w64 ports of GCC. |
| 23 | _MSC_VER Compiling the W32 port with the Microsoft C compiler. | 23 | _MSC_VER Compiling the W32 port with the Microsoft C compiler. |
| 24 | MINGW_W64 Compiling the W32 port with the MinGW-w64 port of GCC. | ||
| 24 | DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h). | 25 | DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h). |
| 25 | SOLARIS2 | 26 | SOLARIS2 |
| 26 | USG | 27 | USG |