Issue #5317 has been updated by Yasuhiro Matsumoto.


????????????uid_t????????????с?????w off_t??с?????鐚?
篁ヤ?????s/uid_t/off_t/g ??х舟??????????????????????

----------------------------------------
Feature #5317: ruby???????????????<?ゃ???篏帥?c????≦宍???茵??????????uid_t??絎h??????帥????????篋??????堺?ャ??????
http://redmine.ruby-lang.org/issues/5317

Author: Yasuhiro Matsumoto
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 1.9.x


篁ュ?????vim???if_ruby(ruby??≦宍)??篆罩c?????綵?????????????mingw32??с??uid_t??絎h????ruby????罌宴????????????win32.h??с?絎h???綏??違??????????????潟????????????????????激?ャ?????????????????違?????????障????????

vim???ruby???∫?c?????????if_ruby.c??с?????????????????<?ゃ???帥??ruby.h???include?????????????с?????(篁???????<?ゃ???ruby.h???include?????????????????<????с??)?????ャ?????<?ゃ???mingw32??絎h???с?????

sys/types.h:
    typedef long _off_t;

???

ruby-1.9.1/ruby/win32.h:
    #define off_t __int64

https://github.com/ruby/ruby/blob/trunk/include/ruby/win32.h

???腴九???????????障?????罕????篏???????off_t??????<?潟??????????わ????ゃ??????吾?с????????<?ゃ????????с?<?潟???????с????????純?<????????????с????????

win32.h???鴻???SIZEOF_OFF_T???絎h??????????????????#define????????水?堺?ャ?障??????????????SIZEOF_OFF_T???configure??у???????????config.h???阪??????????????障?c??????篋??????????ruby.h ??? ruby/ruby.h ??? ruby/config.h ??茯??粋昭??障?????(win32???翫??)???腟???????????SIZEOF_OFF_T??????翫?堺?ャ???篋????????障?????

vim???翫??????LoadLibrary???GetProcAddress???篏帥?c???????ゃ????????????若????c?潟?違??篏帥?c?????障??????????堺?ャ????医h???????????罔?????????????????????<?ゃ???篏帥???????????с????堺?ャ?????off_t??絎h??????帥????堺?ャ?????????????c?????障?????



-- 
http://redmine.ruby-lang.org