summaryrefslogtreecommitdiff
path: root/include/libintl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libintl.h')
-rw-r--r--include/libintl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libintl.h b/include/libintl.h
index 6631d0b26..b87909509 100644
--- a/include/libintl.h
+++ b/include/libintl.h
@@ -127,10 +127,14 @@ extern char *bind_textdomain_codeset (__const char *__domainname,
__END_DECLS
+#else
+
+#define gettext(msgid) ((const char *) (msgid))
+
#endif /* __UCLIBC_HAS_GETTEXT_AWARENESS__ */
#ifdef _LIBC
-# define _(x) x
+# define _(x) gettext(x)
# define N_(x) x
#endif