Update from libc.
authorJim Meyering <jim@meyering.net>
Tue, 17 Oct 2000 06:45:49 +0000 (06:45 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 17 Oct 2000 06:45:49 +0000 (06:45 +0000)
lib/getopt.c

index a5bc2c9..e852127 100644 (file)
 #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