From: Eli Zaretskii Date: Fri, 6 Jul 2001 16:50:29 +0000 (+0000) Subject: Ifdef away the test for !HAVE_MKTIME, to avoid parse X-Git-Tag: emacs-pretest-21.0.104~50 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5abfcd73341189072ebd8132c92cc97b7c5d6e68;p=emacs.git Ifdef away the test for !HAVE_MKTIME, to avoid parse error in "gcc -E -traditional" with GCC 3.0. --- 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