From: Jim Meyering Date: Tue, 17 Oct 2000 06:45:49 +0000 (+0000) Subject: Update from libc. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27463582fcb7998af2644d02cd3c72631a1f5deb;p=pspp 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