diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-07-06 16:50:29 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-07-06 16:50:29 +0000 |
commit | 5abfcd73341189072ebd8132c92cc97b7c5d6e68 (patch) | |
tree | 82a61ff39a07722ebd8ec714cf0579c6eff5bd08 | |
parent | 21457453c9bd1a6d60a30dcefcf64bac9318a721 (diff) | |
download | emacs-5abfcd73341189072ebd8132c92cc97b7c5d6e68.tar.gz |
Ifdef away the test for !HAVE_MKTIME, to avoid parse
error in "gcc -E -traditional" with GCC 3.0.
-rw-r--r-- | msdos/sed2.inp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/msdos/sed2.inp b/msdos/sed2.inp index c01c3f932be..857313c70a2 100644 --- a/msdos/sed2.inp +++ b/msdos/sed2.inp @@ -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 |