From 5097a8fa5fc938b578f54ad41859d5f6392a8694 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 8 Jan 1997 04:52:00 +0000 Subject: [PATCH] [_]: Define to gettext also if ENABLE_NLS is defined. --- lib/getopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 # define _(msgid) gettext (msgid) #else -- 2.11.0