Mercurial > hg > octave-lyh > gnulib-hg
changeset 151:b454bfe8fd7e
GNU shell utilities
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 12 Feb 1994 17:17:26 +0000 |
parents | a48455f89c99 |
children | 8745ae7b868c |
files | lib/getopt.c |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/getopt.c +++ b/lib/getopt.c @@ -195,11 +195,9 @@ } /* If using GCC, we can safely declare strlen this way. - If not using GCC, it is ok not to declare it. - (Supposedly there are some machines where it might get a warning, - but changing this conditional to __STDC__ is too risky.) */ + If not using GCC, it is ok not to declare it. */ #ifdef __GNUC__ -#if ! (defined (emacs) && !defined (__STDC__)) +#ifndef __STDC__ #ifdef IN_GCC #include "gstddef.h" #else /* not IN_GCC */ @@ -208,7 +206,7 @@ #include <stddef.h> #endif /* not IN_GCC */ extern size_t strlen (const char *); -#endif /* ! (defined (emacs) && !defined (__STDC__)) */ +#endif /* not __STDC__ */ #endif /* __GNUC__ */ #endif /* not __GNU_LIBRARY__ */