File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ namespace detail {
365365 typename T,
366366 typename D
367367 // workaround a msvc bug https://developercommunity.visualstudio.com/t/MSVC-1938331290-preview-fails-to-comp/10505565
368- #if _MSC_VER != 1938
368+ #if !defined(_MSC_VER) || _MSC_VER != 1938
369369 ,
370370 typename std::enable_if<
371371 std::is_same<decltype (std::declval<D>()(std::declval<T>())), void >::value,
@@ -415,7 +415,7 @@ namespace detail {
415415 typename T,
416416 typename D
417417 // workaround a msvc bug https://developercommunity.visualstudio.com/t/MSVC-1938331290-preview-fails-to-comp/10505565
418- #if _MSC_VER != 1938
418+ #if !defined(_MSC_VER) || _MSC_VER != 1938
419419 ,
420420 typename std::enable_if<
421421 std::is_same<decltype (std::declval<D>()(std::declval<T>())), void >::value,
You can’t perform that action at this time.
0 commit comments