X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgettext.h;h=f15eb6a25c9725f0425969ca30ada58994bfd4de;hb=11f037c25793b02c701776d88087ae7d419cbe93;hp=6e4d5ead8b5dbb8bf53ac5f655f9a251118742a7;hpb=34abd68afd21ed0a91033624de782893ea102562;p=gnulib.git diff --git a/lib/gettext.h b/lib/gettext.h index 6e4d5ead8..f15eb6a25 100644 --- a/lib/gettext.h +++ b/lib/gettext.h @@ -163,12 +163,8 @@ npgettext_aux (const char *domain, #include -/* 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