mirror of https://code.videolan.org/videolan/vlc
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:
parent
a54f5ed684
commit
d467e95c65
|
@ -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])
|
||||
|
|
|
@ -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'])
|
||||
|
|
Loading…
Reference in New Issue