]> git.eshelyaron.com Git - emacs.git/commitdiff
Ifdef away the test for !HAVE_MKTIME, to avoid parse
authorEli Zaretskii <eliz@gnu.org>
Fri, 6 Jul 2001 16:50:29 +0000 (16:50 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 6 Jul 2001 16:50:29 +0000 (16:50 +0000)
error in "gcc -E -traditional" with GCC 3.0.

msdos/sed2.inp

index c01c3f932be0a6d9c19ed25e033aa9c2454918d3..857313c70a2e04acecda562fc547c31078a0a668 100644 (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