aboutsummaryrefslogtreecommitdiffstats
path: root/localeinit.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-15 06:17:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-15 06:17:29 +0000
commit91f34bd1e55a9a1bca7340edd7a2e3233df92911 (patch)
treec1fafb35f465f4adc4ed157b27a87fa468f589da /localeinit.c
parent73d21681415a5d17c2347264cfd3ab43894f3cbc (diff)
downloadruby-91f34bd1e55a9a1bca7340edd7a2e3233df92911.tar.gz
refer flag variables regardless RUBY_DEBUG_ENV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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