From: Jim Meyering Date: Wed, 8 Jan 1997 04:52:00 +0000 (+0000) Subject: [_]: Define to gettext also if ENABLE_NLS is defined. X-Git-Tag: cvs-readonly~8329 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=5097a8fa5fc938b578f54ad41859d5f6392a8694;p=gnulib.git [_]: Define to gettext also if ENABLE_NLS is defined. --- 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