mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 16:41:19 +00:00
Re-introduce check for sufficient PCRE version.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612945 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -48,6 +48,11 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include "apr_tables.h"
|
#include "apr_tables.h"
|
||||||
#include "pcre.h"
|
#include "pcre.h"
|
||||||
|
|
||||||
|
/* PCRE_DUPNAMES is only present since version 6.7 of PCRE */
|
||||||
|
#ifndef PCRE_DUPNAMES
|
||||||
|
#error PCRE Version 6.7 or later required!
|
||||||
|
#else
|
||||||
|
|
||||||
#define APR_WANT_STRFUNC
|
#define APR_WANT_STRFUNC
|
||||||
#include "apr_want.h"
|
#include "apr_want.h"
|
||||||
|
|
||||||
@ -308,4 +313,6 @@ AP_DECLARE(int) ap_regname(const ap_regex_t *preg,
|
|||||||
return namecount;
|
return namecount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* PCRE_DUPNAMES defined */
|
||||||
|
|
||||||
/* End of pcreposix.c */
|
/* End of pcreposix.c */
|
||||||
|
Reference in New Issue
Block a user