diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-16 07:46:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-16 07:46:24 +0000 |
commit | 1e5de389da4c5043b8aed81138c4980fad7393e3 (patch) | |
tree | ec9bc4c285484063cbca3c05d7f3a1cc0df1141d /debug.c | |
parent | 2b206be6acca2b0e5c2894860f578e087a4e3c5b (diff) | |
download | ruby-1e5de389da4c5043b8aed81138c4980fad7393e3.tar.gz |
* debug.c (set_debug_option): added rtc_error option.
* win32/Makefile.sub (CRTDEFFLAGS): separated from DEFS.
* win32/win32.c (rtc_error_handler): ignores RTC errors unless
rtc_error debug option is given.
* win32/win32.c (rb_w32_sysinit): suppress useless CRT assertions.
[ruby-core:22116]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -148,6 +148,9 @@ set_debug_option(const char *str, int len, void *arg) } while (0) SET_WHEN("gc_stress", *ruby_initial_gc_stress_ptr); SET_WHEN("core", ruby_enable_coredump); +#if defined _WIN32 && defined _MSC_VER && _MSC_VER >= 1400 + SET_WHEN("rtc_error", ruby_w32_rtc_error); +#endif fprintf(stderr, "unexpected debug option: %.*s\n", len, str); } |