🐛 Clang on Windows will define _MSC_VER and trip up these checks -- make it actually Visual C++-specific

This commit is contained in:
ThePhD authored and Martin Hořeňovský committed 2026-01-19 15:14:53 +01:00
1 parent 024aec9729
commit de7e863013
1 file changed
+1 -1
@@ -208,7 +208,7 @@
////////////////////////////////////////////////////////////////////////////////
// Visual C++
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(__clang__)
// We want to defer to nvcc-specific warning suppression if we are compiled
// with nvcc masquerading for MSVC.