[vlc-commits] [Git][videolan/vlc][master] access: file: don't include shlwapi.h for winstore builds
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Fri Jul 15 14:03:42 UTC 2022
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
3d5eabea by Steve Lhomme at 2022-07-15T13:50:23+00:00
access: file: don't include shlwapi.h for winstore builds
It's not supposed to be usable anyway.
It's included to get the definition of PathIsNetworkPathW().
- - - - -
1 changed file:
- modules/access/file.c
Changes:
=====================================
modules/access/file.c
=====================================
@@ -47,7 +47,9 @@
#if defined( _WIN32 )
# include <io.h>
# include <ctype.h>
-# include <shlwapi.h>
+#if !defined(VLC_WINSTORE_APP)
+# include <shlwapi.h> // for PathIsNetworkPathW
+#endif
#else
# include <unistd.h>
#endif
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3d5eabeac85255507a0ec9d713ab95379621d9ce
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3d5eabeac85255507a0ec9d713ab95379621d9ce
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list