aboutsummaryrefslogtreecommitdiff
path: root/intl.h
diff options
context:
space:
mode:
Diffstat (limited to 'intl.h')
-rw-r--r--intl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/intl.h b/intl.h
new file mode 100644
index 0000000..13396f3
--- /dev/null
+++ b/intl.h
@@ -0,0 +1,11 @@
+/* Dummy header for libintl.h */
+
+#if I18N
+#undef __OPTIMIZE__
+#include <libintl.h>
+#define _(String) gettext((String))
+#define N_(String) (String)
+#else
+#define _(String) (String)
+#define N_(String) (String)
+#endif