summaryrefslogtreecommitdiff
path: root/include/libintl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libintl.h')
-rw-r--r--include/libintl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libintl.h b/include/libintl.h
index be3969fff..6631d0b26 100644
--- a/include/libintl.h
+++ b/include/libintl.h
@@ -23,6 +23,8 @@
#include <features.h>
+#ifdef __UCLIBC_HAS_GETTEXT_AWARENESS__
+
/* We define an additional symbol to signal that we use the GNU
implementation of gettext. */
#define __USE_GNU_GETTEXT 1
@@ -125,4 +127,11 @@ extern char *bind_textdomain_codeset (__const char *__domainname,
__END_DECLS
+#endif /* __UCLIBC_HAS_GETTEXT_AWARENESS__ */
+
+#ifdef _LIBC
+# define _(x) x
+# define N_(x) x
+#endif
+
#endif /* libintl.h */