projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e09c372
)
(ENABLE_NLS): Include libintl.h and define _ to gettext.
author
Jim Meyering
<jim@meyering.net>
Mon, 2 Sep 1996 16:18:48 +0000
(16:18 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 2 Sep 1996 16:18:48 +0000
(16:18 +0000)
lib/rpmatch.c
patch
|
blob
|
history
diff --git
a/lib/rpmatch.c
b/lib/rpmatch.c
index d3ea353be17b4daa6c0b125ea45b751c75187a2f..eeda0fd60df484aac3a4a7c39cef6e9643a116d4 100644
(file)
--- 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