mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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
This commit is contained in:
parent
f033cfa381
commit
6ec37b8f75
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue