Win32: restore accidentally removed variable
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 4 Sep 2008 18:09:48 +0000 (21:09 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 4 Sep 2008 18:09:48 +0000 (21:09 +0300)
src/misc/threads.c

index 1d196b6..cc002fe 100644 (file)
@@ -52,6 +52,8 @@ static volatile unsigned i_initializations = 0;
 # include <sched.h>
 
 static pthread_mutex_t once_mutex = PTHREAD_MUTEX_INITIALIZER;
+#else
+static vlc_threadvar_t cancel_key;
 #endif
 
 /**