changeset 7571:adab1ce316f9

One more modif.
author Bruno Haible <bruno@clisp.org>
date Wed, 25 Oct 2006 18:56:19 +0000
parents 728bd13a5bda
children 4aea3bda39c7
files lib/gettext.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/gettext.h
+++ b/lib/gettext.h
@@ -164,7 +164,7 @@
 #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>