]> git.sesse.net Git - vlc/commitdiff
Win32: fix compilation for Vista target
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 13 Feb 2013 18:57:02 +0000 (19:57 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 13 Feb 2013 18:58:43 +0000 (19:58 +0100)
src/win32/thread.c

index 451aa39666856cb342ca62e8826f887167eb5038..f2c5e310a3a8b65c9fefba68070e7643fb020234 100644 (file)
@@ -745,7 +745,7 @@ static void SelectClockSource (vlc_object_t *obj)
     if (!strcmp (name, "tick"))
     {
         msg_Dbg (obj, "using Windows time as clock source");
-#if (_WIN32_WINNT < 0x0601)
+#if (_WIN32_WINNT < 0x0600)
         HANDLE h = GetModuleHandle (_T("kernel32.dll"));
         if (unlikely(h == NULL))
             abort ();