diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2008-06-26 22:33:33 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2008-06-26 22:33:33 +0000 |
commit | 43db14bbd823795adfc6f37efcc74abccb77fdd7 (patch) | |
tree | 097aaca5c26f98406d1d80c13c9b48212edc5392 /src/makefile.w32-in | |
parent | 6e73a6a2c1fd9b97a4ed23747897349bd7ffc2f0 (diff) | |
download | emacs-43db14bbd823795adfc6f37efcc74abccb77fdd7.tar.gz |
Remove unneeded -Defines in the compiler command line (MinGW and MSVC).
* nt/nmake.defs:
* nt/gmake.defs (FONT_CFLAGS): Remove.
(EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
(CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
and _CRTAPI1.
(ARCH_FLAGS): Don't include _X86_.
* nt/config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
* src/makefile.w32-in (LOCAL_FLAGS):
Don't include WINDOWSNT, DOS_NT and _UCHAR_T.
* src/sysdep.c (_spawnlp, _getpid):
Declare with explicit _cdecl instead of _CRTAPI1.
* src/editfns.c (Fget_internal_run_time):
Check for WINDOWSNT with #ifdef, not #if.
Diffstat (limited to 'src/makefile.w32-in')
-rw-r--r-- | src/makefile.w32-in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile.w32-in b/src/makefile.w32-in index 116aea2d56d..872c3320746 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in @@ -29,7 +29,7 @@ EMACSLOADPATH=$(CURDIR)/../lisp # HAVE_CONFIG_H is required by some generic gnu sources stuck into # the emacs source tree. # -LOCAL_FLAGS = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS) +LOCAL_FLAGS = -Demacs=1 -DHAVE_CONFIG_H -I../nt/inc -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS) EMACS = $(BLD)/emacs.exe TEMACS = $(BLD)/temacs.exe |