Portability fix.

oldstable
Alexandre Julliard 2004-05-25 18:55:20 +00:00
parent 2dff1fe1e5
commit d3239b677f
1 changed files with 2 additions and 0 deletions

View File

@ -287,8 +287,10 @@ void wine_mmap_add_reserved_area( void *addr, size_t size )
if (!((char *)addr + size)) size--; /* avoid wrap-around */
#ifdef HAVE_MMAP
/* blow away existing mappings */
wine_anon_mmap( addr, size, PROT_NONE, MAP_NORESERVE | MAP_FIXED );
#endif
LIST_FOR_EACH( ptr, &reserved_areas )
{