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 /nt/preprep.c | |
| 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 'nt/preprep.c')
| -rw-r--r-- | nt/preprep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nt/preprep.c b/nt/preprep.c index fda937df0e0..39a9b70e953 100644 --- a/nt/preprep.c +++ b/nt/preprep.c | |||
| @@ -25,7 +25,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #include <stdio.h> | 25 | #include <stdio.h> |
| 26 | #include <fcntl.h> | 26 | #include <fcntl.h> |
| 27 | #include <time.h> | 27 | #include <time.h> |
| 28 | #if defined(__GNUC__) && !defined(_W64) | 28 | #if defined(__GNUC__) && !defined(MINGW_W64) |
| 29 | #define _ANONYMOUS_UNION | 29 | #define _ANONYMOUS_UNION |
| 30 | #define _ANONYMOUS_STRUCT | 30 | #define _ANONYMOUS_STRUCT |
| 31 | #endif | 31 | #endif |