summaryrefslogtreecommitdiff
path: root/libiberty/regex.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/regex.c
parent4e6bfe8ada4bae838d47c169d1cc2899db66ff19 (diff)
merge from gcc
Diffstat (limited to 'libiberty/regex.c')
-rw-r--r--libiberty/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c
index e68df05818..2852e849fa 100644
--- a/libiberty/regex.c
+++ b/libiberty/regex.c
@@ -95,7 +95,7 @@
# endif
/* This is for other GNU distributions with internationalized messages. */
-# if HAVE_LIBINTL_H || defined _LIBC
+# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
# include <libintl.h>
# ifdef _LIBC
# undef gettext