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 | |
| 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')
| -rw-r--r-- | admin/CPP-DEFINES | 3 | ||||
| -rw-r--r-- | admin/ChangeLog | 4 |
2 files changed, 6 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 |
diff --git a/admin/ChangeLog b/admin/ChangeLog index 72ce74bd629..0ec6d920ad0 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-11-17 Oscar Fuentes <ofv@wanadoo.es> | ||
| 2 | |||
| 3 | * admin/CPP-DEFINES: Mention MINGW_W64. | ||
| 4 | |||
| 1 | 2014-11-15 Glenn Morris <rgm@gnu.org> | 5 | 2014-11-15 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * update_autogen: Auto-detect VCS in use. | 7 | * update_autogen: Auto-detect VCS in use. |