diff options
author | Jim Meyering <jim@meyering.net> | 1994-11-03 00:58:25 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-11-03 00:58:25 +0000 |
commit | 4e253268e1d934531bf4045d53ae90c50356d8e2 (patch) | |
tree | dcd90aac80acefc67d2816adbac42ce5129c2f02 /lib/getopt.c | |
parent | 21229f21b4bea5dfc27c6934daa3d64e59e67327 (diff) | |
download | coreutils-4e253268e1d934531bf4045d53ae90c50356d8e2.tar.xz |
merge with 1.10x1
Diffstat (limited to 'lib/getopt.c')
-rw-r--r-- | lib/getopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getopt.c b/lib/getopt.c index ac0d6f3f7..4bab2b1b9 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -30,7 +30,7 @@ #include <config.h> #endif -#ifndef __STDC__ +#if !defined (__STDC__) || !__STDC__ /* This is a separate conditional since some stdc systems reject `defined (const)'. */ #ifndef const @@ -188,7 +188,7 @@ my_index (str, chr) #ifdef __GNUC__ /* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h. That was relevant to code that was here before. */ -#ifndef __STDC__ +#if !defined (__STDC__) || !__STDC__ /* gcc with -traditional declares the built-in strlen to return int, and has done so at least since version 2.4.5. -- rms. */ extern int strlen (const char *); |