run-tests: Check for the _UCRT define that latest upstream mingw-w64 defines
The __MSVCRT_VERSION__ define has been changed and now is set to 0xE00 for UCRT, but the _UCRT define has been added.
This commit is contained in:
1 parent
6223a35822
commit
ca329c1cd4
1 file changed
+2
-2
+2
-2
@@ -15,8 +15,8 @@ cd test
|
||||
|
||||
DEFAULT_OSES="mingw32 mingw32uwp"
|
||||
cat<<EOF > is-ucrt.c
|
||||
#include <_mingw.h>
|
||||
#if __MSVCRT_VERSION__ < 0x1400
|
||||
#include <corecrt.h>
|
||||
#if __MSVCRT_VERSION__ < 0x1400 && !defined(_UCRT)
|
||||
#error not ucrt
|
||||
#endif
|
||||
EOF
|
||||
|
||||
Reference in new issue
Block a user