summaryrefslogtreecommitdiff
path: root/src/gettext.h
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-07-24 13:58:51 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-07-24 16:52:59 +0200
commite034f8a2a372279edfc5a6c69dc14fb31c9a7685 (patch)
treeb8bf1e95011a901b0e20e1cb283b7d0ed98a9030 /src/gettext.h
parent47381bde3b4d7a9ee9780786c9a993f2b63a488a (diff)
downloadminetest-e034f8a2a372279edfc5a6c69dc14fb31c9a7685.tar.gz
minetest-e034f8a2a372279edfc5a6c69dc14fb31c9a7685.tar.bz2
minetest-e034f8a2a372279edfc5a6c69dc14fb31c9a7685.zip
Sanitize GETTEXT usage macros
Now the user-level option is called ENABLE_GETTEXT, and USE_GETTEXT is only set to true if gettext was enabled and found. This simplifies all check to USE_GETTEXT only rather than the double checks for it being enabled and found.
Diffstat (limited to 'src/gettext.h')
-rw-r--r--src/gettext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gettext.h b/src/gettext.h
index 751b83774..7c3a6ffab 100644
--- a/src/gettext.h
+++ b/src/gettext.h
@@ -1,4 +1,4 @@
-#if defined(GETTEXT_FOUND) && defined(USE_GETTEXT)
+#if USE_GETTEXT
#include <libintl.h>
#else
#define gettext(String) String