Skip to content
Snippets Groups Projects
Commit 4657ba26 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

package/win32: set _UCRT when enabling URCT in mingw-64

_UCRT was not set automatically in with mingw-w64 older than 7 [1]. _UCRT is
needed to enable certain UCRT API. It's also set by MSVC.

[1] https://github.com/mingw-w64/mingw-w64/commit/8b2ece59fccf0a65257b1ba2fe8d67d7e8a2e8c1
parent f04324fc
No related branches found
No related tags found
Loading
Pipeline #307807 passed with stage
in 18 minutes and 13 seconds
......@@ -226,7 +226,7 @@ fi
if [ ! -z "$BUILD_UCRT" ]; then
WIDL=${TRIPLET}-widl
CPPFLAGS="$CPPFLAGS -D__MSVCRT_VERSION__=0xE00"
CPPFLAGS="$CPPFLAGS -D__MSVCRT_VERSION__=0xE00 -D_UCRT"
if [ ! -z "$WINSTORE" ]; then
SHORTARCH="$SHORTARCH-uwp"
......
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