summaryrefslogtreecommitdiff
path: root/include/ruby/internal/attr/noexcept.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/internal/attr/noexcept.h')
-rw-r--r--include/ruby/internal/attr/noexcept.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/attr/noexcept.h b/include/ruby/internal/attr/noexcept.h
index 7c3f92f1e7..dd4c667407 100644
--- a/include/ruby/internal/attr/noexcept.h
+++ b/include/ruby/internal/attr/noexcept.h
@@ -78,7 +78,7 @@
#elif defined(__INTEL_CXX11_MODE__)
# define RBIMPL_ATTR_NOEXCEPT(_) noexcept(noexcept(_))
-#elif RBIMPL_COMPILER_SINCE(MSVC, 19, 0, 0)
+#elif RBIMPL_COMPILER_IS(MSVC)
# define RBIMPL_ATTR_NOEXCEPT(_) noexcept(noexcept(_))
#elif __cplusplus >= 201103L