aboutsummaryrefslogtreecommitdiff
path: root/libiberty/getopt.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-11-13 03:54:15 +0000
committerDJ Delorie <dj@redhat.com>2001-11-13 03:54:15 +0000
commit1a78a35acfb696d2262b7c2d707b9e6421c99aaa (patch)
treef56c67ced07f962db6580e3ceaed514464043191 /libiberty/getopt.c
parent4e6bfe8ada4bae838d47c169d1cc2899db66ff19 (diff)
downloadgdb-1a78a35acfb696d2262b7c2d707b9e6421c99aaa.zip
gdb-1a78a35acfb696d2262b7c2d707b9e6421c99aaa.tar.gz
gdb-1a78a35acfb696d2262b7c2d707b9e6421c99aaa.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/getopt.c')
-rw-r--r--libiberty/getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/getopt.c b/libiberty/getopt.c
index fd302b6..2402a39 100644
--- a/libiberty/getopt.c
+++ b/libiberty/getopt.c
@@ -82,7 +82,7 @@
#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */
-# ifdef HAVE_LIBINTL_H
+# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
# include <libintl.h>
# define _(msgid) gettext (msgid)
# else