diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2017-03-01 13:25:13 +0000 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2017-03-28 07:09:01 +0000 |
commit | e8cf0bf5f8fe0dd2b4bbfa0c85a32e7edb69e2f4 (patch) | |
tree | ca46de2d46a0ef568281f99aa749d69edfb38fb2 /config.tests/unix/pcre2/pcre2.cpp | |
parent | 514fff1e39d0bcab18de48658b87124205d9f625 (diff) |
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 <oswald.buddenhagen@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'config.tests/unix/pcre2/pcre2.cpp')
-rw-r--r-- | config.tests/unix/pcre2/pcre2.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 <pcre2.h> -#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 |