projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(ENABLE_NLS): Include libintl.h and define _ to gettext.
[pspp]
/
lib
/
rpmatch.c
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