Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
4657ba26 by Steve Lhomme at 2023-01-28T08:30:50+00:00
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
- - - - -
1 changed file:
- extras/package/win32/build.sh
Changes:
=====================================
extras/package/win32/build.sh
=====================================
@@ -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"
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/4657ba2647ca051294dc5fce38a38488e775bb95
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/4657ba2647ca051294dc5fce38a38488e775bb95
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits