Todd Vierling <[EMAIL PROTECTED]> writes:

> I've implemented the patch as forward-looking, allowing other platforms to
> add MAP_TRYFIXED to gain the same benefit.  (This mmap flag name does not
> appear to be used in any divergent fashion on any other platform, per my
> research when picking the flag's name.)

If you want to keep compatibility with older kernels, you'll need to
check if MAP_TRYFIXED is available at runtime, you can't test for that
at compile time. Or if you don't need to maintain compatibility then
you should get rid of the NetBSD ifdefs completely.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to