mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32.c: declare for old VC
* win32/win32.c (ustatfs): declare GetVolumePathNameW for old VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
793d9c14df
commit
d681a6247b
1 changed files with 1 additions and 0 deletions
|
@ -5872,6 +5872,7 @@ ustatfs(const char *path, struct statfs *buf)
|
|||
WCHAR root[MAX_PATH], system[8];
|
||||
DWORD serial, spc, bps, unused, total;
|
||||
char *tmp;
|
||||
BOOL WINAPI GetVolumePathNameW(LPCWSTR, LPWSTR, DWORD);
|
||||
|
||||
if (!wpath) {
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue