summaryrefslogtreecommitdiff
path: root/libiberty/obstack.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/obstack.c
parent7d0eb8c65b1cdef977666a0304e79538fe1b527e (diff)
downloadgdb-6e5455df618dde9d547109d8e3d003641349a14b.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/obstack.c')
-rw-r--r--libiberty/obstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/obstack.c b/libiberty/obstack.c
index 0d4a4c88949..02560c9e032 100644
--- a/libiberty/obstack.c
+++ b/libiberty/obstack.c
@@ -451,7 +451,7 @@ _obstack_memory_used (h)
/* Define the error handler. */
#ifndef _
-# ifdef HAVE_LIBINTL_H
+# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
# include <libintl.h>
# ifndef _
# define _(Str) gettext (Str)