summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-16 06:41:56 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-16 06:41:56 +0000
commitde26eababa2e77e5c9274eac5633a62355bcc7b1 (patch)
tree2d88313c1059145d3c6ddaa822f007991fbcdf9d /error.c
parent3ccd6c0aab516bb1ca8402b985db83a90dbd0eb2 (diff)
* error.c (rb_bug): existance of _set_abort_behavior() depends on
runtime version, not compiler version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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