Mercurial > hg > octave-kai > gnulib-hg
diff lib/getopt.c @ 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 | a9199b5e52ce |
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