[vlc-commits] win32: GetSystemTimePreciseAsFileTime() is allowed on UWP apps
Steve Lhomme
git at videolan.org
Mon Mar 19 13:36:05 CET 2018
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at videolabs.io> | Wed Feb 7 09:18:15 2018 +0100| [a9cd9fd1dbc68f585e9ebeeaec764675095d8d4d] | committer: Steve Lhomme
win32: GetSystemTimePreciseAsFileTime() is allowed on UWP apps
(cherry picked from commit 13a5ca47d521d2e02728f1d0454a76d37df4ccd9)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=a9cd9fd1dbc68f585e9ebeeaec764675095d8d4d
---
src/win32/thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/win32/thread.c b/src/win32/thread.c
index f370a781f0..5c6b71e349 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -782,7 +782,7 @@ static mtime_t mdate_wall (void)
FILETIME ts;
ULARGE_INTEGER s;
-#if (_WIN32_WINNT >= _WIN32_WINNT_WIN8) && !VLC_WINSTORE_APP
+#if (_WIN32_WINNT >= _WIN32_WINNT_WIN8) && (!VLC_WINSTORE_APP || _WIN32_WINNT >= 0x0A00)
GetSystemTimePreciseAsFileTime (&ts);
#else
GetSystemTimeAsFileTime (&ts);
More information about the vlc-commits
mailing list