Conditional to support Solaris
Alexandre Julliard
julliard at winehq.com
Sat Dec 21 13:42:56 CST 2002
Robert Lunnon <bob at yarrabee.net.au> writes:
> I need to introduce a compile time conditional to better facilitate Solaris,
> in particular the macro ADDRESS_SPACE_LIMIT in virtual.c.
>
> I understand HAVE_SOLARIS is frowned upon so can anyone suggest a more
> targetted alternative (Could use __sysv__ but who knows whether all SYSV
> implementations need to define ADDRESS_SPACE_LIMIT the same way !)
As has been discussed already, ADDRESS_SPACE_LIMIT is a Windows
limitation, not a Linux one, so it must not be changed for
Solaris. The right way is to somehow reserve the area above
ADDRESS_SPACE_LIMIT so that it's not used for normal allocations.
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list