summaryrefslogtreecommitdiff
path: root/include/libintl.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-07 08:42:33 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-07 08:42:33 +0000
commit9fe81b755894fc982714657c53d1cb4be59bc161 (patch)
treed8f77cb2a6c875b2460503e485ef3aac31b4bf6a /include/libintl.h
parent698d2c6803ac9f329c0f46aed89b385680b3a31e (diff)
Message catalog support for internationalization is not currently
provided by uClibc, and here I have added macros to disable it. -Erik
Diffstat (limited to 'include/libintl.h')
-rw-r--r--include/libintl.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/libintl.h b/include/libintl.h
new file mode 100644
index 000000000..ae1ac88e8
--- /dev/null
+++ b/include/libintl.h
@@ -0,0 +1,18 @@
+/* Message catalog support for internationalization is not currently
+ * provided by uClibc, and so I have added macros here to disable it.
+ * Sorry about that.
+ */
+
+#ifndef _LIBINTL_H
+#define _LIBINTL_H 1
+
+#undef bindtextdomain
+#define bindtextdomain(Domain, Directory) /* empty */
+#undef textdomain
+#define textdomain(Domain) /* empty */
+#define _(Text) (Text)
+#define N_(Text) (Text)
+
+
+#endif /* _LIBINTL_H */
+