projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
642eebe
)
Always include <libintl.h> for glibc.
author
drepper
<drepper>
Mon, 16 Oct 2000 16:14:28 +0000
(16:14 +0000)
committer
drepper
<drepper>
Mon, 16 Oct 2000 16:14:28 +0000
(16:14 +0000)
posix/getopt.c
patch
|
blob
|
history
diff --git
a/posix/getopt.c
b/posix/getopt.c
index
a6d2d04
..
c981553
100644
(file)
--- a/
posix/getopt.c
+++ b/
posix/getopt.c
@@
-77,9
+77,8
@@
#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)
# else