diff options
author | Jim Meyering <jim@meyering.net> | 1994-02-10 19:14:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-02-10 19:14:24 +0000 |
commit | 4caa3d07cfffdb530250195f9df116d39b6fbcd0 (patch) | |
tree | 68fb192aa9380b9845c365cf7a65b79da3d29c80 /lib/getopt.c | |
parent | 589f6b1c17d8fe77d001d3ef8a0b40c748073f1a (diff) | |
download | coreutils-4caa3d07cfffdb530250195f9df116d39b6fbcd0.tar.xz |
merge with 1.9.2g
Diffstat (limited to 'lib/getopt.c')
-rw-r--r-- | lib/getopt.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/getopt.c b/lib/getopt.c index 2f1e6d8d7..6cdedb019 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 <stddef.h> -#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. */ |