[前][次][番号順一覧][スレッド一覧]

ruby-changes:33689

From: nobu <ko1@a...>
Date: Thu, 1 May 2014 01:45:36 +0900 (JST)
Subject: [ruby-changes:33689] nobu:r45770 (trunk): win32.c: add linkage

nobu	2014-05-01 01:45:32 +0900 (Thu, 01 May 2014)

  New Revision: 45770

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45770

  Log:
    win32.c: add linkage
    
    * win32/win32.c (ustatfs): need a linkage to get rid of conflict.

  Modified files:
    trunk/win32/win32.c
Index: win32/win32.c
===================================================================
--- win32/win32.c	(revision 45769)
+++ win32/win32.c	(revision 45770)
@@ -5872,7 +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);
+    WINBASEAPI BOOL WINAPI GetVolumePathNameW(LPCWSTR, LPWSTR, DWORD);
 
     if (!wpath) {
 	return -1;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]