@@ -445,7 +445,7 @@ if (LLAMA_ALL_WARNINGS)
endif()
-if (MSVC)
+if (WIN32)
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
if (BUILD_SHARED_LIBS)