Commit 141d98841 for imagemagick.org
commit 141d98841a1101ed09163abd79358334d9627458
Author: Cristy <urban-warrior@imagemagick.org>
Date: Wed Apr 15 20:58:08 2026 -0400
eliminate compile warning
diff --git a/MagickCore/thread-private.h b/MagickCore/thread-private.h
index 8ecc97bbf..37b3b351a 100644
--- a/MagickCore/thread-private.h
+++ b/MagickCore/thread-private.h
@@ -183,7 +183,7 @@ static inline void SetOpenMPMaximumThreads(const int magick_unused(threads))
#if defined(MAGICKCORE_OPENMP_SUPPORT)
static inline void SetOpenMPMaxActiveLevels(const int value)
{
-#if defined(_MSC_VER)
+#if defined(MAGICKCORE_WINDOWS_SUPPORT)
omp_set_nested(value);
#else
omp_set_max_active_levels(value ? 2 : 1);