Skip to content

Commit 5f3537e

Browse files
committed
add copilation condition to avoid build error in case of old PCRE
1 parent 1549132 commit 5f3537e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apache2/re_operators.c

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
#include "libinjection/libinjection.h"
3939

40+
#ifdef WITH_PCRE2
4041
/**
4142
* @brief Set the JIT compile return code and JIT compile status.
4243
* \param regex regex structure
@@ -52,6 +53,7 @@ static void msc_op_set_jitrc(msc_regex_t *regex, int *rc, int *jit) {
5253
}
5354
return;
5455
}
56+
#endif
5557

5658
/**
5759
*

0 commit comments

Comments
 (0)