From: cristy Date: Sun, 26 Jan 2014 12:54:47 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2784 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4be7dbffa66b366600acfff7d90ff9ce418610b8;p=imagemagick --- 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 }