[vlc-commits] Win32: fix compilation for Vista target

Jean-Baptiste Kempf git at videolan.org
Wed Feb 13 19:58:49 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb 13 19:57:02 2013 +0100| [2ccf04ef735dcb42828e8da2322e8b2e01c03b96] | committer: Jean-Baptiste Kempf

Win32: fix compilation for Vista target

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

 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 451aa39..f2c5e31 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -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 ();



More information about the vlc-commits mailing list