ruby-changes:33688
From: nobu <ko1@a...>
Date: Thu, 1 May 2014 01:07:10 +0900 (JST)
Subject: [ruby-changes:33688] nobu:r45769 (trunk): win32.c: declare for old VC
nobu 2014-05-01 01:07:02 +0900 (Thu, 01 May 2014) New Revision: 45769 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45769 Log: win32.c: declare for old VC * win32/win32.c (ustatfs): declare GetVolumePathNameW for old VC. Modified files: trunk/win32/win32.c Index: win32/win32.c =================================================================== --- win32/win32.c (revision 45768) +++ win32/win32.c (revision 45769) @@ -5872,6 +5872,7 @@ ustatfs(const char *path, struct statfs https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L5872 WCHAR root[MAX_PATH], system[8]; DWORD serial, spc, bps, unused, total; char *tmp; + BOOL WINAPI GetVolumePathNameW(LPCWSTR, LPWSTR, DWORD); if (!wpath) { return -1; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/