FALSE is not defined on Solaris.

This commit is contained in:
François Gouget 2001-11-05 23:52:30 +00:00 committed by Alexandre Julliard
parent 69f8b8f63e
commit 1526872b1f

View file

@ -426,11 +426,11 @@ static int solaris_try_mmap (void *addr, size_t len, int prot, int flags,
and MAP_FIXED isn't already specified. */
if ( !addr )
return FALSE;
return 0;
if ( (uintptr_t)addr & (pagesize-1) )
return FALSE;
return 0;
if ( flags & MAP_FIXED )
return FALSE;
return 0;
/* We use vfork() to freeze all threads of the
current process. This allows us to check without