summaryrefslogtreecommitdiff
path: root/lib/getopt.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-01-08 04:52:00 +0000
committerJim Meyering <jim@meyering.net>1997-01-08 04:52:00 +0000
commit8a752e86968ecfcd252f16401f34538940be2b2c (patch)
tree54044060bc1d516458893e347b8a63aa0b5ebb9a /lib/getopt.c
parent8bd5d9e6076c8d5d72cb0feff3296a062747e716 (diff)
downloadcoreutils-8a752e86968ecfcd252f16401f34538940be2b2c.tar.xz
[_]: Define to gettext also if ENABLE_NLS is defined.
Diffstat (limited to 'lib/getopt.c')
-rw-r--r--lib/getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getopt.c b/lib/getopt.c
index 1cefc1082..2df545a89 100644
--- a/lib/getopt.c
+++ b/lib/getopt.c
@@ -88,7 +88,7 @@
#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */
-#ifdef HAVE_LIBINTL_H
+#if defined (HAVE_LIBINTL_H) || defined (ENABLE_NLS)
# include <libintl.h>
# define _(msgid) gettext (msgid)
#else