From 27463582fcb7998af2644d02cd3c72631a1f5deb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 17 Oct 2000 06:45:49 +0000 Subject: [PATCH] Update from libc. --- lib/getopt.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/getopt.c b/lib/getopt.c index a5bc2c95e..e852127f6 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 -- 2.11.0