summaryrefslogtreecommitdiff
path: root/nt/preprep.c
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2014-11-17 23:06:13 +0100
committerOscar Fuentes <ofv@wanadoo.es>2014-11-17 23:10:00 +0100
commit81e0cca7bbc99dbfda898a8aaab740ae121cf045 (patch)
tree7ee980226205173954792911af2d0d51686d5926 /nt/preprep.c
parent67a22c6062fdaff39c27611d21cd5866661f8e15 (diff)
downloademacs-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/preprep.c')
-rw-r--r--nt/preprep.c2
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/>.
#include <stdio.h>
#include <fcntl.h>
#include <time.h>
-#if defined(__GNUC__) && !defined(_W64)
+#if defined(__GNUC__) && !defined(MINGW_W64)
#define _ANONYMOUS_UNION
#define _ANONYMOUS_STRUCT
#endif