do not use the WINSTORECOMPAT define for VLC sources

We don't need this hack anymore. We call the proper API's available in
UWP when needed.

However we still need to link with windowsappcompat as libunwind is calling
RtlRestoreContext(), regardless if we're building for UWP or not.
This commit is contained in:
Steve Lhomme 2023-05-16 16:26:52 +02:00
parent a54f5ed684
commit d467e95c65
2 changed files with 0 additions and 4 deletions

View File

@ -417,9 +417,6 @@ AS_IF([test "${SYS}" = "mingw32"],[
AS_IF([test "${enable_winstore_app}" = "yes"], [
vlc_winstore_app=1
LIBCOM="-loleaut32"
AX_APPEND_FLAG([-DWINSTORECOMPAT],[CFLAGS])
AX_APPEND_FLAG([-DWINSTORECOMPAT],[CPPFLAGS])
AX_APPEND_FLAG([-DWINSTORECOMPAT],[CXXFLAGS])
LDFLAGS="${LDFLAGS} -lwindowsappcompat"
VLC_ADD_LIBS([libvlccore], [-lruntimeobject])
AC_LIBOBJ([gai_strerror])

View File

@ -434,7 +434,6 @@ ucrt_version_test = '''
# Check if we are building for Windows Store
if get_option('winstore_app')
have_win_store = true
add_project_arguments('-DWINSTORECOMPAT', language: ['c', 'cpp'])
windowsappcompat_lib = cc.find_library('windowsappcompat')
# TODO: enable when meson 0.63 is required
# add_project_dependencies(windowsappcompat_lib, language: ['c', 'cpp'])