]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid build failure on MacOS X.
authorBruno Haible <bruno@clisp.org>
Tue, 10 Apr 2001 20:22:16 +0000 (20:22 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 10 Apr 2001 20:22:16 +0000 (20:22 +0000)
intl/ChangeLog
intl/loadmsgcat.c

index c40ec3cf3cb4c0a90e9eea5cb694c7c0c317e1f5..8d435b9e65543cd56c092aa0cb9af68496708ae9 100644 (file)
@@ -1,3 +1,9 @@
+2001-04-09  Bruno Haible <haible@clisp.cons.org>
+
+       * loadmsgcat.c: Don't use GNU C extensions if __APPLE_CC__ is defined.
+       Apple's MacOS X compiler has not all the features that the regular
+       GCC with the same version number has.
+
 2001-04-07  Bruno Haible <haible@clisp.cons.org>
 
        * gettextP.h (struct loaded_domain): Add codeset_cntr field.
index ec9ebf0782514a9915e00110e95c6bac200b1806..d3529802520a62710c2c08e1e24cc1c04e5516bc 100644 (file)
@@ -131,7 +131,7 @@ char *alloca ();
    cached by one of GCC's features.  */
 int _nl_msg_cat_cntr;
 
-#if defined __GNUC__ \
+#if (defined __GNUC__ && !defined __APPLE_CC__) \
     || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
 
 /* These structs are the constant expression for the germanic plural