ruby-changes:31202
From: nobu <ko1@a...>
Date: Mon, 14 Oct 2013 13:51:29 +0900 (JST)
Subject: [ruby-changes:31202] nobu:r43281 (trunk): win32.h: declare fstati64 to suppress warnings
nobu 2013-10-14 13:51:23 +0900 (Mon, 14 Oct 2013) New Revision: 43281 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43281 Log: win32.h: declare fstati64 to suppress warnings * include/ruby/win32.h (fstati64): declare for ext/-test-/file/stat.c on w64-mingw, to suppress warnings. Modified files: trunk/include/ruby/win32.h Index: include/ruby/win32.h =================================================================== --- include/ruby/win32.h (revision 43280) +++ include/ruby/win32.h (revision 43281) @@ -459,6 +459,8 @@ extern rb_gid_t getegid (void); https://github.com/ruby/ruby/blob/trunk/include/ruby/win32.h#L459 extern int setuid (rb_uid_t); extern int setgid (rb_gid_t); +extern int fstati64(int, struct stati64 *); + extern char *rb_w32_strerror(int); #ifdef RUBY_EXPORT -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/