[Pcsclite-cvs-commit] CVS libmusclecard/src

CVS User rousseau ludovic.rousseau@free.fr
Thu, 21 Apr 2005 09:26:43 +0000


Update of /cvsroot/pcsclite/libmusclecard/src
In directory haydn:/tmp/cvs-serv7433

Modified Files:
	musclecard.c 
Log Message:
do not perform a windows specific treatment for PCSC_MCARD_mutex
declaration/initialisation

Thanks to Karsten Ohme for the patch


--- /cvsroot/pcsclite/libmusclecard/src/musclecard.c	2005/04/06 14:16:44	1.47
+++ /cvsroot/pcsclite/libmusclecard/src/musclecard.c	2005/04/21 09:26:43	1.48
@@ -10,7 +10,7 @@
  * You may not remove this header from this file without 
  * prior permission from the author.
  *
- * $Id: musclecard.c,v 1.47 2005/04/06 14:16:44 rousseau Exp $
+ * $Id: musclecard.c,v 1.48 2005/04/21 09:26:43 rousseau Exp $
  */
 
 #include "config.h"
@@ -35,12 +35,7 @@
 
 #ifdef USE_THREAD_SAFETY
 
-#ifndef WIN32
 static PCSCLITE_MUTEX PCSC_MCARD_mutex = PTHREAD_MUTEX_INITIALIZER;
-#else
-/* This is initialized once in PCSC.cpp */
-PCSCLITE_MUTEX PCSC_MCARD_mutex;
-#endif
 
 static PCSCLITE_THREAD_T callbackThread;
 static ULONG blockingContext = MSC_BLOCKSTATUS_RESUME;