diff options
Diffstat (limited to 'lib/gettext.h')
-rw-r--r-- | lib/gettext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gettext.h b/lib/gettext.h index e7520af252f..742ce37e6ce 100644 --- a/lib/gettext.h +++ b/lib/gettext.h @@ -185,7 +185,8 @@ npgettext_aux (const char *domain, #include <string.h> #if (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \ - /* || __STDC_VERSION__ >= 199901L */ ) + /* || __STDC_VERSION__ == 199901L + || (__STDC_VERSION__ >= 201112L && !defined __STDC_NO_VLA__) */ ) # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1 #else # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 0 |