ICU-1008 Fix for when threads are not wanted.

X-SVN-Rev: 6458
This commit is contained in:
George Rhoten 2001-10-26 18:55:35 +00:00
parent dab8330821
commit 2d5d7cf72f

View File

@ -68,6 +68,8 @@
#include "umutex.h"
#include "cmemory.h"
#if (ICU_USE_THREADS == 1)
/* the global mutex. Use it proudly and wash it often. */
static UMTX gGlobalMutex = NULL;
@ -78,6 +80,7 @@ static CRITICAL_SECTION gPlatformMutex;
static pthread_mutex_t gPlatformMutex;
#endif
#endif /* ICU_USE_THREADS==1 */
void umtx_lock(UMTX *mutex)
{