From 5f3537ec2137c1aec4ddb07c67a2577b6e3acf94 Mon Sep 17 00:00:00 2001 From: Ervin Hegedus Date: Sat, 10 May 2025 13:13:55 +0200 Subject: [PATCH] add copilation condition to avoid build error in case of old PCRE --- apache2/re_operators.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apache2/re_operators.c b/apache2/re_operators.c index b3a43054..dc1de84b 100644 --- a/apache2/re_operators.c +++ b/apache2/re_operators.c @@ -37,6 +37,7 @@ #include "libinjection/libinjection.h" +#ifdef WITH_PCRE2 /** * @brief Set the JIT compile return code and JIT compile status. * \param regex regex structure @@ -52,6 +53,7 @@ static void msc_op_set_jitrc(msc_regex_t *regex, int *rc, int *jit) { } return; } +#endif /** *