From d681a6247bcc0a8cab6854468808b5e6f3a326b7 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 30 Apr 2014 16:07:02 +0000 Subject: 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 --- win32/win32.c | 1 + 1 file changed, 1 insertion(+) (limited to 'win32') 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; -- cgit v1.2.3