summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-30 16:07:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-30 16:07:02 +0000
commitd681a6247bcc0a8cab6854468808b5e6f3a326b7 (patch)
treed3e7bddb224fb66d8dcc15910c7f30bae425b854
parent793d9c14df163808ba142a9435c2d54eb6ea6df6 (diff)
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
-rw-r--r--win32/win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index f8b2ff0b16..7ddfdeb563 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -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;