]> granicus.if.org Git - flex/commit
build: use #ifdef for ENABLE_NLS check.
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Thu, 2 Nov 2017 14:24:23 +0000 (14:24 +0000)
committerWill Estes <westes575@gmail.com>
Fri, 3 Nov 2017 14:39:32 +0000 (10:39 -0400)
commit661d603b65385f62f372acd2017e5af2e0f0cd50
tree8e8a38ecae530767fa6e63481ff067ce67b5ac7b
parenta17d79e9c722a6735b6d2a8f152287404f27df32
build: use #ifdef for ENABLE_NLS check.

config.h will have either define ENABLE_NLS or not define it. If it is
not defined we get a -Wundef warning due to using #if with an
undefined macro
src/gettext.h
src/main.c