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>
This commit is contained in:
Giuseppe D'Angelo 2017-03-01 13:25:13 +00:00
parent 514fff1e39
commit e8cf0bf5f8
1 changed files with 3 additions and 1 deletions

View File

@ -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