summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/getopt.c')
-rw-r--r--contrib/gcc/getopt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/gcc/getopt.c b/contrib/gcc/getopt.c
index c41531e..2402a39 100644
--- a/contrib/gcc/getopt.c
+++ b/contrib/gcc/getopt.c
@@ -6,8 +6,8 @@
Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
Free Software Foundation, Inc.
- NOTE: The canonical source of this file is maintained with the GNU C Library.
- Bugs can be reported to bug-glibc@gnu.org.
+ NOTE: This source is derived from an old version taken from the GNU C
+ Library (glibc).
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -82,7 +82,7 @@
#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */
-# ifdef HAVE_LIBINTL_H
+# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
# include <libintl.h>
# define _(msgid) gettext (msgid)
# else
OpenPOWER on IntegriCloud