]> git.eshelyaron.com Git - emacs.git/commitdiff
* lib/gettext.h: Merge from gnulib.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 17 Jun 2017 22:21:53 +0000 (15:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 17 Jun 2017 22:22:13 +0000 (15:22 -0700)
lib/gettext.h

index e7520af252f135a3d76680a67867badee98dc3c8..742ce37e6ceb9ab95aa1fd3a77d89f6ff6e06d3f 100644 (file)
@@ -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