From: Jim Meyering Date: Thu, 10 Feb 1994 18:33:26 +0000 (+0000) Subject: GNU shell utilities X-Git-Tag: SHELLUTILS-1_9_2g X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a85c1d5cc66f9acde3615742b7bf8e1b69769139;p=thirdparty%2Fgnulib.git GNU shell utilities --- diff --git a/lib/getopt.c b/lib/getopt.c index 2f1e6d8d7a..6cdedb019b 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -199,15 +199,19 @@ my_index (str, chr) (Supposedly there are some machines where it might get a warning, but changing this conditional to __STDC__ is too risky.) */ #ifdef __GNUC__ +#if ! (defined (emacs) && !defined (__STDC__)) #ifdef IN_GCC #include "gstddef.h" -#else +#else /* not IN_GCC */ +/* Motorola Delta 68k R3V7 comes with GCC but not stddef.h. + Enable Emacs to compile on it. */ #include -#endif +#endif /* not IN_GCC */ extern size_t strlen (const char *); -#endif +#endif /* ! (defined (emacs) && !defined (__STDC__)) */ +#endif /* __GNUC__ */ -#endif /* GNU C library. */ +#endif /* not __GNU_LIBRARY__ */ /* Handle permutation of arguments. */