ANSI C comment style.
[gnulib.git] / lib / gettext.h
index 6e4d5ea..f15eb6a 100644 (file)
@@ -163,12 +163,8 @@ npgettext_aux (const char *domain,
 
 #include <string.h>
 
-/* GCC supports variable-size arrays in C and C++ mode.
-   ISO C++ supports variable-size arrays, but some older PGI and Sun compilers
-   don't.  */
 #define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS \
-  (__GNUC__ >= 3 \
-   || (defined __cplusplus && !(defined __PGI || defined __SUNPRO_CC)))
+  (__GNUC__ >= 3 || __GNUG__ >= 2 /* || __STDC_VERSION__ >= 199901L */ )
 
 #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
 #include <stdlib.h>