]> git.sesse.net Git - vlc/commitdiff
llvm seems to solve our cancellation issues. Revert "Compilation fix"
authorDerk-Jan Hartman <hartman@videolan.org>
Fri, 20 Feb 2009 14:04:45 +0000 (15:04 +0100)
committerDerk-Jan Hartman <hartman@videolan.org>
Fri, 20 Feb 2009 14:07:45 +0000 (15:07 +0100)
This reverts commit 076dc4357cbe4eec9085a59162c6910a07d0b850.

src/misc/mtime.c

index 2b27fbf40a05ecd74c17c0c90bb38a744dcbf3bf..96049e55a45e62c626a4e9ffe412209f3020af1f 100644 (file)
@@ -352,8 +352,8 @@ void mwait( mtime_t date )
 
 #elif defined( __APPLE__ )
     /* Explicit hack: OSX does not cancel at nanosleep() */
-    vlc_mutex_t lock;
-    vlc_cond_t  wait;
+    struct vlc_mutex_t lock;
+    struct vlc_cond_t  wait;
 
     vlc_mutex_init (&lock);
     vlc_cond_init (&wait);