summaryrefslogtreecommitdiff
blob: 4d282e3423a6ee85a49ad834720b36bab8f0a649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- psmisc-21.6/src/i18n.h	2004-11-09 06:25:15.000000000 -0500
+++ psmisc-21.6.nonls/src/i18n.h	2005-03-14 00:21:53.000000000 -0500
@@ -13,6 +13,11 @@
 #define _(String) gettext (String)
 #else
 #define _(String) (String)
+#define rpmatch(x) \
+	( (line == NULL) ? -1 : \
+	  (*line == 'y' || *line == 'Y') ? 1 : \
+	  (*line == 'n' || *line == 'N') ? 0 : \
+	  -1 )
 #endif
 
 #endif