add copilation condition to avoid build error in case of old PCRE

This commit is contained in:
Ervin Hegedus 2025-05-10 13:13:55 +02:00
parent 1549132fb5
commit 5f3537ec21
No known key found for this signature in database
GPG Key ID: 5FA5BC3F5EC41F61

View File

@ -37,6 +37,7 @@
#include "libinjection/libinjection.h" #include "libinjection/libinjection.h"
#ifdef WITH_PCRE2
/** /**
* @brief Set the JIT compile return code and JIT compile status. * @brief Set the JIT compile return code and JIT compile status.
* \param regex regex structure * \param regex regex structure
@ -52,6 +53,7 @@ static void msc_op_set_jitrc(msc_regex_t *regex, int *rc, int *jit) {
} }
return; return;
} }
#endif
/** /**
* *