Commit 3ab66cd0 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

libwine: Conditionally provide reserve_area().

parent 44a808fb
...@@ -243,6 +243,7 @@ static inline int mmap_reserve( void *addr, size_t size ) ...@@ -243,6 +243,7 @@ static inline int mmap_reserve( void *addr, size_t size )
* *
* Reserve as much memory as possible in the given area. * 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 ) static void reserve_area( void *addr, void *end )
{ {
size_t size = (char *)end - (char *)addr; size_t size = (char *)end - (char *)addr;
...@@ -285,6 +286,7 @@ static void reserve_area( void *addr, void *end ) ...@@ -285,6 +286,7 @@ static void reserve_area( void *addr, void *end )
} }
#endif #endif
} }
#endif
/*********************************************************************** /***********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment