🐛 Clang on Windows will define _MSC_VER and trip up these checks -- make it actually Visual C++-specific
This commit is contained in:
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.
|
||||
|
||||
Reference in new issue
Block a user