One more modif.
authorBruno Haible <bruno@clisp.org>
Wed, 25 Oct 2006 18:56:19 +0000 (18:56 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 25 Oct 2006 18:56:19 +0000 (18:56 +0000)
lib/gettext.h

index 916284d6fc6576b5c539c5aa39fae0bd1254cfb9..f15eb6a25c9725f0425969ca30ada58994bfd4de 100644 (file)
@@ -164,7 +164,7 @@ npgettext_aux (const char *domain,
 #include <string.h>
 
 #define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS \
-  (__GNUC__ >= 3 || (defined __cplusplus && defined __GNUC__))
+  (__GNUC__ >= 3 || __GNUG__ >= 2 /* || __STDC_VERSION__ >= 199901L */ )
 
 #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
 #include <stdlib.h>