From: Jim Meyering Date: Tue, 17 Oct 2000 06:45:49 +0000 (+0000) Subject: Update from libc. X-Git-Tag: TEXTUTILS-2_0_8~73 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=c84107946236b4af89202f1e4ee2b158817ae2c8;p=thirdparty%2Fcoreutils.git Update from libc. --- diff --git a/lib/getopt.c b/lib/getopt.c index a5bc2c95e6..e852127f62 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -75,11 +75,12 @@ #endif #ifndef _ -/* This is for other GNU distributions with internationalized messages. - When compiling libc, the _ macro is predefined. */ -# ifdef HAVE_LIBINTL_H +/* This is for other GNU distributions with internationalized messages. */ +# if defined HAVE_LIBINTL_H || defined _LIBC # include -# define _(msgid) gettext (msgid) +# ifndef _ +# define _(msgid) gettext (msgid) +# endif # else # define _(msgid) (msgid) # endif