From 4be7dbffa66b366600acfff7d90ff9ce418610b8 Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 26 Jan 2014 12:54:47 +0000 Subject: [PATCH] --- MagickCore/semaphore-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/semaphore-private.h b/MagickCore/semaphore-private.h index f3fe50418..91ffb962c 100644 --- a/MagickCore/semaphore-private.h +++ b/MagickCore/semaphore-private.h @@ -92,7 +92,7 @@ static inline void LockMagickMutex(void) #elif defined(MAGICKCORE_HAVE_WINTHREADS) while (InterlockedCompareExchange(&semaphore_mutex,1L,0L) != 0) Sleep(10); -#if defined(MAGICKCORE_OPENMP_SUPPORT) +#elif defined(MAGICKCORE_OPENMP_SUPPORT) omp_set_lock(&semaphore_mutex); #endif } -- 2.40.0