summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--localeinit.c4
-rw-r--r--signal.c3
2 files changed, 1 insertions, 6 deletions
diff --git a/localeinit.c b/localeinit.c
index fa9cc26b8e..1e1fd4fb29 100644
--- a/localeinit.c
+++ b/localeinit.c
@@ -23,10 +23,8 @@
#define CP_FORMAT(buf, codepage) snprintf(buf, sizeof(buf), "CP%u", (codepage))
#endif
-#if defined _WIN32 && defined RUBY_DEBUG_ENV
+#if defined _WIN32
extern UINT ruby_w32_codepage;
-#else
-enum {ruby_w32_codepage = 0};
#endif
#ifndef NO_LOCALE_CHARMAP
diff --git a/signal.c b/signal.c
index e4f04d101a..8ee0963b8a 100644
--- a/signal.c
+++ b/signal.c
@@ -1435,9 +1435,6 @@ ruby_sig_finalize(void)
int ruby_enable_coredump = 0;
-#ifndef RUBY_DEBUG_ENV
-#define ruby_enable_coredump 0
-#endif
/*
* Many operating systems allow signals to be sent to running