summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index 265e864..bcf2817 100644
--- a/debug.c
+++ b/debug.c
@@ -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);
}