On 6 August 2010 12:39, Corinna Vinschen wrote:
> On Aug  6 10:51, Chris Sutcliffe wrote:
>> On 6 August 2010 10:11, Corinna Vinschen wrote:
>> > And they don't have to.  Per POSIX, only d_ino and d_name can be
>> > expected by a portable application(*).
>>
>> Fair enough, thankfully they are don't seem to be used by the code, so
>> I added an '#ifndef __CYGWIN__' around them and have managed to get by
>> this.
>
> Btw., d_fileno is just another old name for d_ino.  The Linux headers
> defines it thus as `#define d_fileno d_ino'.  We can do the same in
> Cygwin.  Maybe that minimizes some porting effort.

Thank you for the tip about d_fileno.  I've left it within the
__CYGWIN__ guard for now and have successfully compiled rtorrent after
a couple of other minor patches.  I plan on testing rtorrent out when
I get home this evening and all going well issue an ITP.

Cheers!

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to