Ifdef away the test for !HAVE_MKTIME, to avoid parse

error in "gcc -E -traditional" with GCC 3.0.
This commit is contained in:
Eli Zaretskii 2001-07-06 16:50:29 +00:00
parent 21457453c9
commit 5abfcd7334

View file

@ -82,3 +82,11 @@ s!^#undef config_opsysfile *$!#define config_opsysfile "s/msdos.h"!
s!^#undef config_machfile *$!#define config_machfile "m/intel386.h"!
s/^#undef PROTOTYPES *$/#define PROTOTYPES 1/
s/^#undef POINTER_TYPE *$/#define POINTER_TYPE void/
# ------------------------------------------------------------
# Without this ifndef, gcc -E -traditional barfs with GCC 3.0
# on the line which says if ! HAVE_MKTIME...
# ------------------------------------------------------------
/^#if ! HAVE_MKTIME || BROKEN_MKTIME/i\
#ifndef __DJGPP__
/^#define mktime emacs_mktime/a\
#endif