1
0
Fork 0
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:
nobu 2014-04-30 16:07:02 +00:00
parent 793d9c14df
commit d681a6247b

View file

@ -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;