summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/arch/arch.cpp4
-rw-r--r--config.tests/unix/pcre2/pcre2.cpp4
2 files changed, 7 insertions, 1 deletions
diff --git a/config.tests/arch/arch.cpp b/config.tests/arch/arch.cpp
index f99c5ca118..bb3efec177 100644
--- a/config.tests/arch/arch.cpp
+++ b/config.tests/arch/arch.cpp
@@ -284,8 +284,12 @@ const char msg2[] = "==Qt=magic=Qt== Sub-architecture:"
#endif
"";
+extern const char msg3[];
+const char msg3[] = "==Qt=magic=Qt== Build-ABI:" ARCH_FULL;
+
int main()
{
puts(msg);
puts(msg2);
+ puts(msg3);
}
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