summaryrefslogtreecommitdiff
path: root/pot.h
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2001-03-23 12:03:26 +0000
committerjkar8572 <jkar8572>2001-03-23 12:03:26 +0000
commit869fe242340fefe0540fdcf51698ba4c3c8c07bb (patch)
tree950fa3f5997c1e8ee68c0f17d4eaf17abef64f34 /pot.h
Initial revision
Diffstat (limited to 'pot.h')
-rw-r--r--pot.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/pot.h b/pot.h
new file mode 100644
index 0000000..b50dc27
--- /dev/null
+++ b/pot.h
@@ -0,0 +1,24 @@
+#ifndef _POT_H
+#define _POT_H
+
+#define __GETTEXT__
+/***************************************************************************
+ * if you want to turn off gettext without changing sources
+ * undefine __GETTEXT__
+ ***************************************************************************/
+
+#ifdef __GETTEXT__
+
+#include <libintl.h>
+
+#define _(x) gettext((x))
+
+void gettexton(void);
+
+#else
+
+#define _(x) (x)
+
+#endif
+
+#endif