Commit 2ccf04ef authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: fix compilation for Vista target

parent b254a7dc
...@@ -745,7 +745,7 @@ static void SelectClockSource (vlc_object_t *obj) ...@@ -745,7 +745,7 @@ static void SelectClockSource (vlc_object_t *obj)
if (!strcmp (name, "tick")) if (!strcmp (name, "tick"))
{ {
msg_Dbg (obj, "using Windows time as clock source"); msg_Dbg (obj, "using Windows time as clock source");
#if (_WIN32_WINNT < 0x0601) #if (_WIN32_WINNT < 0x0600)
HANDLE h = GetModuleHandle (_T("kernel32.dll")); HANDLE h = GetModuleHandle (_T("kernel32.dll"));
if (unlikely(h == NULL)) if (unlikely(h == NULL))
abort (); abort ();
......
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