aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorNils Schimmelmann <nschimme@gmail.com>2019-05-21 06:58:11 (GMT)
committerNils Schimmelmann <nschimme@gmail.com>2019-06-29 17:25:52 (GMT)
commit4e2ea4ccc948e867ec3781ce2eaeca491c6b9912 (patch)
treead8106689f3b9014c697f0649438282a64797452 /main.c
parentc9ab529d933f2ad070b0a898f87cc083365d533c (diff)
downloadpowwow-4e2ea4ccc948e867ec3781ce2eaeca491c6b9912.zip
powwow-4e2ea4ccc948e867ec3781ce2eaeca491c6b9912.tar.gz
powwow-4e2ea4ccc948e867ec3781ce2eaeca491c6b9912.tar.bz2
Allow the regular expression engine to be replaced with PCRE POSIX
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/main.c b/main.c
index 4da7606..e92d2ea 100644
--- a/main.c
+++ b/main.c
@@ -75,7 +75,9 @@
extern int errno;
extern int select();
-#ifdef USE_REGEXP
+#ifdef USE_PCREPOSIX
+# include <pcreposix.h>
+#elif defined(USE_REGEXP)
# include <regex.h>
#endif
@@ -437,6 +439,9 @@ void printver(void)
#else
" no regexp,"
#endif
+#ifdef USE_PCREPOSIX
+ " pcreposix,"
+#endif
#ifdef USE_LOCALE
" locale,"
#endif