From 9cb5206253899b390b99075d7e52b355151abfda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 10 Feb 2025 23:50:58 +0200 Subject: [PATCH] run-tests: Remove an ancient chceck for UCRT It's enough to check for the _UCRT define these days, as long as we are including a header that pulls in the base mingw headers. Since 8b2ece59fccf0a65257b1ba2fe8d67d7e8a2e8c1 in mingw-w64 (May 6th 2019), the mingw-w64 headers define _UCRT. Since 94a28397eec79e54ce5a8354512f43da88f815d2 (committed on the same date), the mingw-w64 headers use 0xE00 instead of 0x1400 for UCRT. --- run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.sh b/run-tests.sh index 0c4b677..424f3a7 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -47,7 +47,7 @@ cd test HAVE_UWP=1 cat< is-ucrt.c #include -#if __MSVCRT_VERSION__ < 0x1400 && !defined(_UCRT) +#if !defined(_UCRT) #error not ucrt #endif EOF