diff options
| author | Juanma Barranquero | 2008-06-26 22:33:33 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-06-26 22:33:33 +0000 |
| commit | 43db14bbd823795adfc6f37efcc74abccb77fdd7 (patch) | |
| tree | 097aaca5c26f98406d1d80c13c9b48212edc5392 /src/editfns.c | |
| parent | 6e73a6a2c1fd9b97a4ed23747897349bd7ffc2f0 (diff) | |
| download | emacs-43db14bbd823795adfc6f37efcc74abccb77fdd7.tar.gz emacs-43db14bbd823795adfc6f37efcc74abccb77fdd7.zip | |
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/editfns.c')
| -rw-r--r-- | src/editfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index 192277e4295..0487ecf4707 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1485,7 +1485,7 @@ on systems that do not provide resolution finer than a second. */) | |||
| 1485 | make_number ((secs >> 0) & 0xffff), | 1485 | make_number ((secs >> 0) & 0xffff), |
| 1486 | make_number (usecs)); | 1486 | make_number (usecs)); |
| 1487 | #else /* ! HAVE_GETRUSAGE */ | 1487 | #else /* ! HAVE_GETRUSAGE */ |
| 1488 | #if WINDOWSNT | 1488 | #ifdef WINDOWSNT |
| 1489 | return w32_get_internal_run_time (); | 1489 | return w32_get_internal_run_time (); |
| 1490 | #else /* ! WINDOWSNT */ | 1490 | #else /* ! WINDOWSNT */ |
| 1491 | return Fcurrent_time (); | 1491 | return Fcurrent_time (); |