mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32.c: add linkage
* win32/win32.c (ustatfs): need a linkage to get rid of conflict. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d681a6247b
commit
f7397d988a
1 changed files with 1 additions and 1 deletions
|
@ -5872,7 +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);
|
WINBASEAPI BOOL WINAPI GetVolumePathNameW(LPCWSTR, LPWSTR, DWORD);
|
||||||
|
|
||||||
if (!wpath) {
|
if (!wpath) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue