summaryrefslogtreecommitdiff
path: root/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'getopt.c')
-rw-r--r--getopt.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/getopt.c b/getopt.c
index 03effcb..cd77419 100644
--- a/getopt.c
+++ b/getopt.c
@@ -79,16 +79,11 @@
# endif
#endif
-#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */
-# ifdef HAVE_LIBINTL_H
-# include <libintl.h>
-# define _(msgid) gettext (msgid)
-# else
-# define _(msgid) (msgid)
-# endif
-#endif
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
/* This version of `getopt' appears to the caller like standard Unix `getopt'
but it behaves differently for the user, since it allows the user