Commit 4542dcce authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

GetSystemTimePreciseAsFileTime is not supported in WinRT...

... but GetSystemTimeAsFileTime is. Go figure...
parent 64a11218
...@@ -680,7 +680,7 @@ static mtime_t mdate_wall (void) ...@@ -680,7 +680,7 @@ static mtime_t mdate_wall (void)
FILETIME ts; FILETIME ts;
ULARGE_INTEGER s; ULARGE_INTEGER s;
#if (_WIN32_WINNT >= 0x0602) #if (_WIN32_WINNT >= 0x0602) && !defined(WINAPI_FAMILY_APP)
GetSystemTimePreciseAsFileTime (&ts); GetSystemTimePreciseAsFileTime (&ts);
#else #else
GetSystemTimeAsFileTime (&ts); GetSystemTimeAsFileTime (&ts);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment