diff options
author | Jim Meyering <jim@meyering.net> | 2000-10-17 06:45:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-10-17 06:45:49 +0000 |
commit | c84107946236b4af89202f1e4ee2b158817ae2c8 (patch) | |
tree | 9442868fbc633ebf59a3bba6a9a6439000e97e25 /lib | |
parent | ad06715030e80a2d2436f7d984fbb4a9d91d9415 (diff) | |
download | coreutils-c84107946236b4af89202f1e4ee2b158817ae2c8.tar.xz |
Update from libc.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getopt.c | 9 |
1 files 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 <libintl.h> -# define _(msgid) gettext (msgid) +# ifndef _ +# define _(msgid) gettext (msgid) +# endif # else # define _(msgid) (msgid) # endif |