]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Tweak _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS again.
authorBruno Haible <bruno@clisp.org>
Wed, 25 Oct 2006 18:57:43 +0000 (18:57 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:14 +0000 (12:14 +0200)
gnulib-local/lib/gettext.h

index 544406ae9f6d520bb19f001c5d2348e4b2c19549..8874d9baa2fa6790101db9b13ef0fb90693ab27b 100644 (file)
@@ -165,7 +165,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>