summaryrefslogtreecommitdiffstats
path: root/src/libutil/regexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/regexp.c')
-rw-r--r--src/libutil/regexp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libutil/regexp.c b/src/libutil/regexp.c
index f713ca2f7..7ef3f178b 100644
--- a/src/libutil/regexp.c
+++ b/src/libutil/regexp.c
@@ -664,9 +664,12 @@ rspamd_regexp_library_init (void)
rc = pcre_config (PCRE_CONFIG_JIT, &jit);
if (rc == 0 && jit == 1) {
+#ifdef PCRE_CONFIG_JITTARGET
pcre_config (PCRE_CONFIG_JITTARGET, &str);
-
msg_info ("pcre is compiled with JIT for %s", str);
+#else
+ msg_info ("pcre is compiled with JIT for unknown target");
+#endif
can_jit = TRUE;
}