Problem roundup

Alexandre Julliard julliard at winehq.org
Wed Nov 24 09:18:20 CST 2004


Mike Hearn <mike at navi.cx> writes:

> On Tue, 23 Nov 2004 19:48:41 -0500, Vincent Béron wrote:
> > Then why do we link to them if they simply return "not implemented"? As
> > notepad works corectly with the newer glibc, I wonder if we do have a
> > fallback to the poll branch (I thought it was a compile-time define).
> 
> Alexandre seems to feel we should always use glibc support when available
> even if that support is just "return -ENOSYS". I'm not really sure why but
> I expect there's a good reason for it.

We cannot check for a "return -ENOSYS" function at compile time, so if
the function exists we link to it and check for ENOSYS at run time,
and fall back to poll() in that case.

-- 
Alexandre Julliard
julliard at winehq.org




More information about the wine-devel mailing list