summaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-11-13 03:54:15 +0000
committerDJ Delorie <dj@delorie.com>2001-11-13 03:54:15 +0000
commit6e5455df618dde9d547109d8e3d003641349a14b (patch)
treefe541d8f71d0fb45868f57d1dd6ab49955bbbcdf /libiberty/regex.c
parent7d0eb8c65b1cdef977666a0304e79538fe1b527e (diff)
downloadgdb-6e5455df618dde9d547109d8e3d003641349a14b.tar.gz
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 e68df05818c..2852e849fa8 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