G'day Christos,

On Wed, Jul 22, 2009 at 03:57:01PM -0400, Christos Zoulas wrote:
> On Jul 22, 12:25pm, gle...@eyesbeyond.com (Greg Lewis) wrote:
> -- Subject: Re: build failure on latest sources?
> 
> | Here is a patch I worked up for it.  Can you let me know if this works
> | for you also?  If so I'll get it committed.
> 
> You could also do:
> 
> DIR *fdopendir(int) __attribute__((__weak__));
> 
> ...
> 
> if (fdopendir == NULL)
>       ...

I was trying to keep to the way functions that various OSes might support
are handled in the rest of the file :).  That's good to know though, I
probably wouldn't have thought of that.

-- 
Greg Lewis                          Email   : gle...@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : gle...@freebsd.org

Reply via email to