mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
add copilation condition to avoid build error in case of old PCRE
This commit is contained in:
parent
1549132fb5
commit
5f3537ec21
@ -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
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user