diff options
| author | Paul Eggert | 2012-07-15 11:18:37 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-15 11:18:37 -0700 |
| commit | b6e9e0ffacf249934e92448e85e965e90aa3cf4b (patch) | |
| tree | 21abdf10950da2d63a8841b068b9e360b5e35cc9 /lib/gettext.h | |
| parent | ce811ad97550ff70e2bd71e1ada496b4715d9b08 (diff) | |
| download | emacs-b6e9e0ffacf249934e92448e85e965e90aa3cf4b.tar.gz emacs-b6e9e0ffacf249934e92448e85e965e90aa3cf4b.zip | |
Merge from gnulib.
2012-07-15 pthread_sigmask: fix bug on FreeBSD 9 (Bug#11884)
2012-07-11 gettext: do not assume '#define ... defined ...' behavior
Diffstat (limited to 'lib/gettext.h')
| -rw-r--r-- | lib/gettext.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/gettext.h b/lib/gettext.h index 75875cdb0fb..65ca1e6762e 100644 --- a/lib/gettext.h +++ b/lib/gettext.h | |||
| @@ -183,9 +183,12 @@ npgettext_aux (const char *domain, | |||
| 183 | 183 | ||
| 184 | #include <string.h> | 184 | #include <string.h> |
| 185 | 185 | ||
| 186 | #define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS \ | 186 | #if (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \ |
| 187 | (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \ | 187 | /* || __STDC_VERSION__ >= 199901L */ ) |
| 188 | /* || __STDC_VERSION__ >= 199901L */ ) | 188 | # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1 |
| 189 | #else | ||
| 190 | # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 0 | ||
| 191 | #endif | ||
| 189 | 192 | ||
| 190 | #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS | 193 | #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS |
| 191 | #include <stdlib.h> | 194 | #include <stdlib.h> |