summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-09 14:56:58 +0900
committerNobuyoshi Nakada <nobu.nakada@gmail.com>2025-11-19 11:03:42 +0900
commitcdb9893c552f67a6065dcb165b2040d35c57aee3 (patch)
treed8a49883a517966afd748a2dd7465fec4738e219 /debug.c
parent1979f8c07d6c2794dda7b482372c9dc0e9f305b0 (diff)
Win32: Drop support for older than MSVC 8.0/_MSC_VER 1400
Visual C++ 2005 (8.0): - _MSC_VER: 1400 - MSVCRT_VERSION: 80
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/debug.c b/debug.c
index 4717a0bc9c..b92faa8f36 100644
--- a/debug.c
+++ b/debug.c
@@ -168,9 +168,7 @@ ruby_debug_breakpoint(void)
}
#if defined _WIN32
-# if RUBY_MSVCRT_VERSION >= 80
extern int ruby_w32_rtc_error;
-# endif
#endif
#if defined _WIN32 || defined __CYGWIN__
#include <windows.h>
@@ -233,9 +231,7 @@ ruby_env_debug_option(const char *str, int len, void *arg)
SET_WHEN("ci", ruby_on_ci, 1);
SET_WHEN_UINT("rgengc", &ruby_rgengc_debug, 1, ruby_rgengc_debug = 1);
#if defined _WIN32
-# if RUBY_MSVCRT_VERSION >= 80
SET_WHEN("rtc_error", ruby_w32_rtc_error, 1);
-# endif
#endif
#if defined _WIN32 || defined __CYGWIN__
SET_WHEN_UINT("codepage", ruby_w32_codepage, numberof(ruby_w32_codepage),