diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-16 06:41:56 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-16 06:41:56 +0000 |
commit | de26eababa2e77e5c9274eac5633a62355bcc7b1 (patch) | |
tree | 2d88313c1059145d3c6ddaa822f007991fbcdf9d /error.c | |
parent | 3ccd6c0aab516bb1ca8402b985db83a90dbd0eb2 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |