diff -Naur blender-4.5.2/extern/mantaflow/CMakeLists.txt blender-4.5.2-patched/extern/mantaflow/CMakeLists.txt
--- blender-4.5.2/extern/mantaflow/CMakeLists.txt	2025-08-26 12:30:06.033544100 +0300
+++ blender-4.5.2-patched/extern/mantaflow/CMakeLists.txt	2025-08-26 12:31:05.241090300 +0300
@@ -85,7 +85,7 @@
   list(APPEND LIB
     ${OPENVDB_LIBRARIES}
   )
-  if(WIN32)
+  if(MSVC)
     # OpenVDB emits lots of these, they should be suppressed through other
     # means but MSVC 16.8/16.9 has broken this functionality, so C4251 is
     # suppressed here explicitly. See
