summaryrefslogtreecommitdiff
path: root/localeinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'localeinit.c')
-rw-r--r--localeinit.c4
1 files changed, 1 insertions, 3 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