summaryrefslogtreecommitdiff
path: root/lib/gettext.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-06-17 15:21:53 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-06-17 15:22:13 -0700
commit5261a7d8bc026963032714faa191f292647e4fdd (patch)
treee29fc951400ca33158cd2d3de947a04065a84508 /lib/gettext.h
parent209ddb1092940c65c4c684fa6d0d8c4e3c6e6bdd (diff)
downloademacs-5261a7d8bc026963032714faa191f292647e4fdd.tar.gz
emacs-5261a7d8bc026963032714faa191f292647e4fdd.tar.bz2
emacs-5261a7d8bc026963032714faa191f292647e4fdd.zip
* lib/gettext.h: Merge from gnulib.
Diffstat (limited to 'lib/gettext.h')
-rw-r--r--lib/gettext.h3
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