summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-16 07:08:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-16 07:08:27 +0000
commit72fffe5cee069d9f47a7a8dc808885aec67da225 (patch)
treebcd5ba86235c47b1d0f10e8f36577dab7ae63d08 /error.c
parent8b25f42046871e94a857dab5ecfb49a8d8fec4c1 (diff)
* configure.in (RUBY_MSVCRT_VERSION): define on mingw too.
* win32/Makefile.sub (config.h): prefix RT_VER with RUBY and make more descriptive to get rid of potential conflict. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35347 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 10061b46a8..bda0f34539 100644
--- a/error.c
+++ b/error.c
@@ -288,7 +288,7 @@ rb_bug(const char *fmt, ...)
report_bug(file, line, fmt, args);
va_end(args);
-#if defined(_WIN32) && defined(RT_VER) && RT_VER >= 80
+#if defined(_WIN32) && defined(RUBY_MSVCRT_VERSION) && RUBY_MSVCRT_VERSION >= 80
_set_abort_behavior( 0, _CALL_REPORTFAULT);
#endif