Skip to content
Snippets Groups Projects
Commit 23fac246 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

package/win32: detect we build with a UCRT toolchain

parent 4657ba26
No related branches found
No related tags found
1 merge request!3171package/win32: detect the requested UCRT matches the toolchain
......@@ -144,6 +144,13 @@ else
COMPILING_WITH_CLANG=0
fi
# Check if this is a UCRT toolchain
if printf "#include <crtdefs.h>\n#if defined(_UCRT) || (__MSVCRT_VERSION__ >= 0x1400) || (__MSVCRT_VERSION__ >= 0xE00 && __MSVCRT_VERSION__ < 0x1000)\n# error This is a UCRT build\n#endif" | $CC -E - 1>/dev/null 2>/dev/null; then
COMPILING_WITH_UCRT=0
else
COMPILING_WITH_UCRT=1
fi
info "Building extra tools"
mkdir -p extras/tools
cd extras/tools
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment