diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-16 06:45:28 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-16 06:45:28 +0000 |
commit | b2161ffac114059ab79030e37fb739f3118ec261 (patch) | |
tree | 25d0fc4da86ec2b4836fb9cba1e069365fa4de22 /error.c | |
parent | 9e38ffc3f5b66f2bfcf04a362002cf6bc09d0892 (diff) |
merge from trunk (r28333)
* 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/branches/ruby_1_9_2@28334 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 |