summaryrefslogtreecommitdiffstats
path: root/test-tool
diff options
context:
space:
mode:
Diffstat (limited to 'test-tool')
-rw-r--r--test-tool/test-tool.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c
index cc47c018..78a608f9 100644
--- a/test-tool/test-tool.c
+++ b/test-tool/test-tool.c
@@ -41,6 +41,13 @@
#define N_(str) str
#endif
+#if !ENABLE_NLS
+#undef textdomain
+#define textdomain(Domainname) /* empty */
+#undef bindtextdomain
+#define bindtextdomain(Domainname, Dirname) /* empty */
+#endif
+
#define STREQ(a,b) (strcmp((a),(b)) == 0)
#define STRCASEEQ(a,b) (strcasecmp((a),(b)) == 0)
#define STRNEQ(a,b) (strcmp((a),(b)) != 0)