[Rubyinstaller-devel] 1.9.1 FFI Gem

Roger Pack rogerdpack at gmail.com
Sat Aug 8 09:08:26 EDT 2009

>> #if !defined __MINGW32__
>> extern int       ftruncate(int fd, off_t length);
>> #endif
> I post this here in the hopes that it will be useful to someone else but I'd
> also like to try something new.  I'd like to try and give back to Ruby.  I'm
> not really sure how to proceed.  Any tips from those who have contributed
> patches to Ruby?

Yeah 1.9.x is much more aggressive with the things it re-defines for
some reason [fstat, et. al]
One hack around is to add #undef xxx in your own code, after you do an

More information about the Rubyinstaller-devel mailing list