summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/pcre2/pcre2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/unix/pcre2/pcre2.cpp')
-rw-r--r--config.tests/unix/pcre2/pcre2.cpp4
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