mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
VC6 error
* win32/win32.c (GetSystemWindowsDirectoryW): use GetWindowsDirectoryW for VC6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
91ec3d8fbe
commit
8361dab9cb
1 changed files with 5 additions and 0 deletions
|
@ -505,6 +505,11 @@ rb_w32_special_folder(int type)
|
|||
return rb_w32_conv_from_wchar(path, rb_filesystem_encoding());
|
||||
}
|
||||
|
||||
#if defined _MSC_VER && _MSC_VER <= 1200
|
||||
/* License: Ruby's */
|
||||
#define GetSystemWindowsDirectoryW GetWindowsDirectoryW
|
||||
#endif
|
||||
|
||||
/* License: Ruby's */
|
||||
UINT
|
||||
rb_w32_system_tmpdir(WCHAR *path, UINT len)
|
||||
|
|
Loading…
Reference in a new issue