summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libintl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libintl.h b/include/libintl.h
index 2a8e18b..70c7c49 100644
--- a/include/libintl.h
+++ b/include/libintl.h
@@ -38,6 +38,16 @@ char *bindtextdomain(const char *domainname, const char *dirname);
((void)(dom), (void)(codeset), (char*) 0)
#define textdomain(X) ((void)(X), (char*) "messages")
+#undef ENABLE_NLS
+#undef DISABLE_NLS
+#define DISABLE_NLS 1
+
+#if __GNUC__ > 3
+/* most ppl call bindtextdomain() without using its return value
+ thus we get tons of warnings about "statement with no effect" */
+#pragma GCC diagnostic ignored "-Wunused-value"
+#endif
+
#endif
#include <stdio.h>