changeset 38320:1a7b93d64c31

Ifdef away the test for !HAVE_MKTIME, to avoid parse error in "gcc -E -traditional" with GCC 3.0.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 06 Jul 2001 16:50:29 +0000
parents cb39e41a5fae
children b3afd4436a00
files msdos/sed2.inp
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/msdos/sed2.inp	Fri Jul 06 16:47:26 2001 +0000
+++ b/msdos/sed2.inp	Fri Jul 06 16:50:29 2001 +0000
@@ -82,3 +82,11 @@
 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