Project

General

Profile

« Previous | Next » 

Revision d4e840bf

Added by yugui (Yuki Sonoda) over 14 years ago

merges r31262 and r31264 from trunk into ruby_1_9_2.

Evaluate truncate, ftruncate and ftello existence

This corrects mingw-w64 compilation.

  • include/ruby/win32.h: VC doesn't have ftruncate() and others, but
    ruby needs HAVE_ macros to use our emulation functions.
    (fix the problem of 31262)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e