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"
|
DEFAULT_OSES="mingw32 mingw32uwp"
|
||||||
cat<<EOF > is-ucrt.c
|
cat<<EOF > is-ucrt.c
|
||||||
#include <_mingw.h>
|
#include <corecrt.h>
|
||||||
#if __MSVCRT_VERSION__ < 0x1400
|
#if __MSVCRT_VERSION__ < 0x1400 && !defined(_UCRT)
|
||||||
#error not ucrt
|
#error not ucrt
|
||||||
#endif
|
#endif
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in new issue
Block a user