diff options
author | Jim Meyering <jim@meyering.net> | 1996-09-02 16:18:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-09-02 16:18:48 +0000 |
commit | f646bc46feb34b2439efbff774108cbbe3031dd1 (patch) | |
tree | 506cf49a3124a9038aa316ec7bb7deae02014593 | |
parent | e09c3726d33d6a82e38212299aecb3f7b8e6b3e2 (diff) | |
download | gnulib-f646bc46feb34b2439efbff774108cbbe3031dd1.tar.gz |
(ENABLE_NLS): Include libintl.h and define _ to gettext.FILEUTILS-3_13c
-rw-r--r-- | lib/rpmatch.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c index d3ea353be1..eeda0fd60d 100644 --- a/lib/rpmatch.c +++ b/lib/rpmatch.c @@ -26,8 +26,11 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <regex.h> -#ifndef _ -# define _(String) String +#if ENABLE_NLS +# include <libintl.h> +# define _(Text) gettext (Text) +#else +# define _(Text) Text #endif static int |