gettext: do not assume '#define ... defined ...' behavior
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 Jul 2012 04:16:27 +0000 (21:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 Jul 2012 15:25:23 +0000 (08:25 -0700)
commitbeee741c19d9287cbabe78a06c458a1d74cffa5d
tree7d00db7f98a9360063d658fab7f4693ba5f02af2
parentdd91a295844a6e89ce67087164ea0f2e979b4b70
gettext: do not assume '#define ... defined ...' behavior

* lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS):
Do not use '#define FOO ... defined BAR ...', as the C standard says
it's not portable to expect that this works after macro expansion.
Problem reported for gzip by Steven M. Schweda in
<http://lists.gnu.org/archive/html/bug-gzip/2012-07/msg00000.html>.
ChangeLog
lib/gettext.h