summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index 85f4c2a1be..0e1eab0a77 100644
--- a/error.c
+++ b/error.c
@@ -246,7 +246,7 @@ rb_bug(const char *fmt, ...)
report_bug(rb_sourcefile(), rb_sourceline(), fmt, args);
va_end(args);
-#if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1400
+#if defined(_WIN32) && defined(RT_VER) && RT_VER >= 80
_set_abort_behavior( 0, _CALL_REPORTFAULT);
#endif