summaryrefslogtreecommitdiff
path: root/libuargp
diff options
context:
space:
mode:
Diffstat (limited to 'libuargp')
-rw-r--r--libuargp/argp-help.c12
-rw-r--r--libuargp/argp-parse.c15
2 files changed, 3 insertions, 24 deletions
diff --git a/libuargp/argp-help.c b/libuargp/argp-help.c
index 0d63ae30b..81c45a1f3 100644
--- a/libuargp/argp-help.c
+++ b/libuargp/argp-help.c
@@ -57,17 +57,7 @@ char *alloca ();
#include <features.h>
#ifndef _
-/* This is for other GNU distributions with internationalized messages. */
-# if (defined HAVE_LIBINTL_H || defined _LIBC) && defined __UCLIBC_HAS_GETTEXT_AWARENESS__
-# include <libintl.h>
-# ifdef _LIBC
-# undef dgettext
-# define dgettext(domain, msgid) \
- INTUSE(__dcgettext) (domain, msgid, LC_MESSAGES)
-# endif
-# else
-# define dgettext(domain, msgid) (msgid)
-# endif
+# define dgettext(domain, msgid) (msgid)
#endif
#ifndef _LIBC
diff --git a/libuargp/argp-parse.c b/libuargp/argp-parse.c
index 912e3e2ab..ecd5e7eb6 100644
--- a/libuargp/argp-parse.c
+++ b/libuargp/argp-parse.c
@@ -48,19 +48,8 @@ char *alloca ();
#include <features.h>
#ifndef _
-/* This is for other GNU distributions with internationalized messages.
- When compiling libc, the _ macro is predefined. */
-# if (defined HAVE_LIBINTL_H || defined _LIBC) && defined __UCLIBC_HAS_GETTEXT_AWARENESS__
-# include <libintl.h>
-# ifdef _LIBC
-# undef dgettext
-# define dgettext(domain, msgid) \
- INTUSE(__dcgettext) (domain, msgid, LC_MESSAGES)
-# endif
-# else
-# define dgettext(domain, msgid) (msgid)
-# define gettext(msgid) (msgid)
-# endif
+# define dgettext(domain, msgid) (msgid)
+# define gettext(msgid) (msgid)
#endif
#ifndef N_
# define N_(msgid) (msgid)