Browse Source

Message catalog support for internationalization is not currently
provided by uClibc, and here I have added macros to disable it.
-Erik

Eric Andersen 22 years ago
parent
commit
9fe81b7558
1 changed files with 18 additions and 0 deletions
  1. 18 0
      include/libintl.h

+ 18 - 0
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 */
+