Skip to content
Snippets Groups Projects
Commit 3ab66cd0 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard
Browse files

libwine: Conditionally provide reserve_area().

parent 44a808fb
No related branches found
No related tags found
No related merge requests found
......@@ -243,6 +243,7 @@ static inline int mmap_reserve( void *addr, size_t size )
*
* Reserve as much memory as possible in the given area.
*/
#if defined(__i386__) && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) /* commented out until FreeBSD gets fixed */
static void reserve_area( void *addr, void *end )
{
size_t size = (char *)end - (char *)addr;
......@@ -285,6 +286,7 @@ static void reserve_area( void *addr, void *end )
}
#endif
}
#endif
/***********************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment