24 Nov
2004
24 Nov
'04
3:18 p.m.
Mike Hearn <mike(a)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(a)winehq.org