Remove unneeded -Defines in the compiler command line (MinGW and MSVC).
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 26 Jun 2008 22:33:33 +0000 (22:33 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 26 Jun 2008 22:33:33 +0000 (22:33 +0000)
commit43db14bbd823795adfc6f37efcc74abccb77fdd7
tree097aaca5c26f98406d1d80c13c9b48212edc5392
parent6e73a6a2c1fd9b97a4ed23747897349bd7ffc2f0
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.
nt/ChangeLog
nt/config.nt
nt/gmake.defs
nt/nmake.defs
src/ChangeLog
src/editfns.c
src/makefile.w32-in
src/sysdep.c