[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS-060720 compilation failure on Mac OS X 10.4, patch (dirfd)
From: |
Claes Wallin |
Subject: |
Re: CVS-060720 compilation failure on Mac OS X 10.4, patch (dirfd) |
Date: |
Fri, 21 Jul 2006 08:36:59 +0200 |
User-agent: |
Thunderbird 1.5.0.4 (Macintosh/20060516) |
Kevin Ryde wrote:
> Claes Wallin <address@hidden> writes:
>> On Mac OS X 10.4 dirfd is a macro, not a function.
>
> Thanks. Is that true on solaris too? I'm guessing it is.
No, it's undefined. That's why the kludge in filesys.c exists.
>> Replace AC_CHECK_FUNCS([dirfd]) with gl_FUNC_DIRFD.
>
> I think I'll make the test "#ifndef dirfd" instead.
> Is gl_FUNC_DIRFD an actual documented function?
It's a part of gnulib, defined in dirfd.m4, which I included. A more
generic kludge than ours, because it works on both Mac OS X and Solaris.
/c
signature.asc
Description: OpenPGP digital signature