QRegularExpression: build fix
Latest PCRE2 versions require a macro to be defined before including pcre2.h, so do it. Task-number: QTBUG-59226 Change-Id: I472ff557e29d1212fdcd99454778551323be4d4b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
fef6819f5b
commit
8cd99d24a8
|
|
@ -54,6 +54,8 @@
|
|||
#include <QtCore/qatomic.h>
|
||||
#include <QtCore/qdatastream.h>
|
||||
|
||||
#define PCRE2_CODE_UNIT_WIDTH 16
|
||||
|
||||
#include <pcre2.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
|
|
|||
Loading…
Reference in New Issue