projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8b7d107
)
[_]: Define to gettext also if ENABLE_NLS is defined.
author
Jim Meyering
<jim@meyering.net>
Wed, 8 Jan 1997 04:52:00 +0000
(
04:52
+0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 8 Jan 1997 04:52:00 +0000
(
04:52
+0000)
lib/getopt.c
patch
|
blob
|
history
diff --git
a/lib/getopt.c
b/lib/getopt.c
index
1cefc10
..
2df545a
100644
(file)
--- a/
lib/getopt.c
+++ b/
lib/getopt.c
@@
-88,7
+88,7
@@
#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */
#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */
-#if
def HAVE_LIBINTL_H
+#if
defined (HAVE_LIBINTL_H) || defined (ENABLE_NLS)
# include <libintl.h>
# define _(msgid) gettext (msgid)
#else
# include <libintl.h>
# define _(msgid) gettext (msgid)
#else