[master] ce89ba7 Only enable PCRE-JIT for PCRE version >= 8.32
Poul-Henning Kamp
phk at FreeBSD.org
Tue May 5 09:51:35 CEST 2015
commit ce89ba7fbdbeb684789db7c2834bdbff4856ea7f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue May 5 07:51:15 2015 +0000
Only enable PCRE-JIT for PCRE version >= 8.32
diff --git a/lib/libvarnish/vre.c b/lib/libvarnish/vre.c
index 193afa9..94400fa 100644
--- a/lib/libvarnish/vre.c
+++ b/lib/libvarnish/vre.c
@@ -36,7 +36,7 @@
#include "vre.h"
-#if defined(USE_PCRE_JIT) && defined (PCRE_STUDY_JIT_COMPILE)
+#if defined(USE_PCRE_JIT) && PCRE_MAJOR == 8 && PCRE_MINOR >= 32
#define VRE_STUDY_JIT_COMPILE PCRE_STUDY_JIT_COMPILE
#else
#define VRE_STUDY_JIT_COMPILE 0
More information about the varnish-commit
mailing list