vlc | branch: master | Steve Lhomme <rob...@videolabs.io> | Wed Feb  7 09:18:15 
2018 +0100| [13a5ca47d521d2e02728f1d0454a76d37df4ccd9] | committer: Steve Lhomme

win32: GetSystemTimePreciseAsFileTime() is allowed on UWP apps

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13a5ca47d521d2e02728f1d0454a76d37df4ccd9
---

 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 cf3c13eb49..9a20af04fa 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -735,7 +735,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);

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to