summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 */
+