From: Jim Meyering Date: Sat, 5 Nov 1994 13:34:33 +0000 (+0000) Subject: GNU file utilities X-Git-Tag: FILEUTILS-3_10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3b35694ca4027c93d98bd72b683b04082db730b;p=thirdparty%2Fgnulib.git GNU file utilities --- diff --git a/lib/filemode.c b/lib/filemode.c index 478120bdf0..20c65c4b06 100644 --- a/lib/filemode.c +++ b/lib/filemode.c @@ -27,7 +27,7 @@ # define S_IRUSR S_IREAD # else # define S_IRUSR 00400 -#endif +# endif #endif #if !S_IWUSR diff --git a/lib/obstack.h b/lib/obstack.h index a5db1a0e74..2f5ec61ae7 100644 --- a/lib/obstack.h +++ b/lib/obstack.h @@ -269,7 +269,10 @@ int obstack_chunk_size (struct obstack *obstack); #define obstack_blank_fast(h,n) ((h)->next_free += (n)) #if defined (__GNUC__) && defined (__STDC__) -#if __GNUC__ < 2 +/* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and + does not implement __extension__. But that compiler doesn't define + __GNUC_MINOR__. */ +#if __GNUC__ < 2 || (NeXt && !__GNUC_MINOR__) #define __extension__ #endif