diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-16 00:15:54 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-16 00:15:54 +0000 |
commit | 8818677822a06639139f41f6c4657016dd008938 (patch) | |
tree | 3a89751e0341128b789b523fe0a37a9b0452c9a0 /localeinit.c | |
parent | 1deae824908fe5475f4326026be581c4d21a606b (diff) | |
download | ruby-8818677822a06639139f41f6c4657016dd008938.tar.gz |
enable ruby_w32_codepage on cygwin
* debug.c, localeinit.c: enable ruby_w32_codepage on cygwin too.
[ruby-core:81163] [Bug #13567]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'localeinit.c')
-rw-r--r-- | localeinit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/localeinit.c b/localeinit.c index 1e1fd4fb29..544402b534 100644 --- a/localeinit.c +++ b/localeinit.c @@ -21,9 +21,7 @@ #if defined _WIN32 || defined __CYGWIN__ #define SIZEOF_CP_NAME ((sizeof(UINT) * 8 / 3) + 4) #define CP_FORMAT(buf, codepage) snprintf(buf, sizeof(buf), "CP%u", (codepage)) -#endif -#if defined _WIN32 extern UINT ruby_w32_codepage; #endif |