"jean-marc DETREZ" jm.detrez@cegetel.net wrote:
@@ -207,6 +207,13 @@ void *wine_anon_mmap( void *start, size_ #elif defined(__svr4__) || defined(__NetBSD__) || defined(__APPLE__) if ( try_mmap_fixed( start, size, prot, flags, fdzero, 0 ) ) return start; +#elif defined(__FreeBSD__)
- /*for FreeBSD assure system heap adress of 0x80000000*/
- if (start == (void *)0x80000000)
- {
- if (try_mmap_fixed( start, size, prot, flags, fdzero, 0 ) )
- return start;
- }
#endif } return mmap( start, size, prot, flags, fdzero, 0 );
Why didn't you simply add __FreeBSD__ to the '#elif defined(__svr4__) || defined(__NetBSD__) || defined(__APPLE__)' case?