]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 26 Jan 2014 12:54:47 +0000 (12:54 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 26 Jan 2014 12:54:47 +0000 (12:54 +0000)
MagickCore/semaphore-private.h

index f3fe50418592120bd052d77ac8958a21e368e278..91ffb962c8e7d3db8ae810b0ad41b6d905dabd50 100644 (file)
@@ -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
 }