# HG changeset patch # User Eli Zaretskii # Date 994438229 0 # Node ID 1a7b93d64c310ddba99fab49c8899c9cca4fbbb8 # Parent cb39e41a5fae5b11d02b3a83a568c6e468746122 Ifdef away the test for !HAVE_MKTIME, to avoid parse error in "gcc -E -traditional" with GCC 3.0. diff -r cb39e41a5fae -r 1a7b93d64c31 msdos/sed2.inp --- 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