From e8cf0bf5f8fe0dd2b4bbfa0c85a32e7edb69e2f4 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Wed, 1 Mar 2017 13:25:13 +0000 Subject: PCRE2: fix the configure test A typo caused the test to never detect the system wide PCRE. Task-number: QTBUG-59226 Change-Id: I42ada99aac240455d11b53d2ab59d712d8f811ff Reviewed-by: Oswald Buddenhagen Reviewed-by: Thiago Macieira --- config.tests/unix/pcre2/pcre2.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config.tests/unix/pcre2') diff --git a/config.tests/unix/pcre2/pcre2.cpp b/config.tests/unix/pcre2/pcre2.cpp index 48130f97c4..9c94d29999 100644 --- a/config.tests/unix/pcre2/pcre2.cpp +++ b/config.tests/unix/pcre2/pcre2.cpp @@ -37,9 +37,11 @@ ** ****************************************************************************/ +#define PCRE2_CODE_UNIT_WIDTH 16 + #include -#if (PCRE2_MAJOR < 10) || ((PCRE2_MAJOR == 10) && (PCRE_MINOR < 20)) +#if (PCRE2_MAJOR < 10) || ((PCRE2_MAJOR == 10) && (PCRE2_MINOR < 20)) #error This PCRE version is not supported #endif -- cgit v1.2.3