[vlc-devel] commit: Win32: restore accidentally removed variable ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Sep 4 20:06:56 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Sep  4 21:09:48 2008 +0300| [b59703c49c7be5cc9ba6e717ed2975ff87d1d907] | committer: Rémi Denis-Courmont 

Win32: restore accidentally removed variable

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

 src/misc/threads.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/misc/threads.c b/src/misc/threads.c
index 1d196b6..cc002fe 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -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
 
 /**




More information about the vlc-devel mailing list