From c3b35694ca4027c93d98bd72b683b04082db730b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 5 Nov 1994 13:34:33 +0000 Subject: [PATCH] GNU file utilities --- lib/filemode.c | 2 +- lib/obstack.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/filemode.c b/lib/filemode.c index 478120bdf..20c65c4b0 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 a5db1a0e7..2f5ec61ae 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 -- 2.11.0