Mercurial > hg > octave-lyh > gnulib-hg
changeset 843:8dca9d01c1a9
[_]: Define to gettext also if ENABLE_NLS is defined.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Wed, 08 Jan 1997 04:52:00 +0000 |
parents | acf83993b98e |
children | b877b95a48b0 |
files | lib/getopt.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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. */ -#ifdef HAVE_LIBINTL_H +#if defined (HAVE_LIBINTL_H) || defined (ENABLE_NLS) # include <libintl.h> # define _(msgid) gettext (msgid) #else