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
commit39c73ae2a67e17b41a3d849a05b556eae9df1209 (patch)
treec1fafb35f465f4adc4ed157b27a87fa468f589da /localeinit.c
parent1a7ed01d6c38565df3fde21bc77d980bb48a448d (diff)
downloadruby-39c73ae2a67e17b41a3d849a05b556eae9df1209.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