[resend] Allow use of MAP_TRYFIXED for better mmap()

Alexandre Julliard julliard at winehq.org
Tue Aug 26 19:31:08 CDT 2003


Todd Vierling <tv at pobox.com> 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
julliard at winehq.com



More information about the wine-devel mailing list