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
@ -5872,6 +5872,7 @@ ustatfs(const char *path, struct statfs *buf)
|
|||||||
WCHAR root[MAX_PATH], system[8];
|
WCHAR root[MAX_PATH], system[8];
|
||||||
DWORD serial, spc, bps, unused, total;
|
DWORD serial, spc, bps, unused, total;
|
||||||
char *tmp;
|
char *tmp;
|
||||||
|
BOOL WINAPI GetVolumePathNameW(LPCWSTR, LPWSTR, DWORD);
|
||||||
|
|
||||||
if (!wpath) {
|
if (!wpath) {
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user