aboutsummaryrefslogtreecommitdiff
path: root/src/gettext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gettext.h')
-rw-r--r--src/gettext.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gettext.h b/src/gettext.h
index 8ddb95346..e74b4eb96 100644
--- a/src/gettext.h
+++ b/src/gettext.h
@@ -1,3 +1,4 @@
+#ifdef GETTEXT_FOUND
#ifdef USE_GETTEXT
#include <libintl.h>
#else
@@ -5,6 +6,11 @@
#define bindtextdomain(domain, dir) /* */
#define textdomain(domain) /* */
#endif
+#else
+#define gettext(String) String
+#define bindtextdomain(domain, dir) /* */
+#define textdomain(domain) /* */
+#endif
#define _(String) gettext(String)
#define gettext_noop(String) String