Conditional to support Solaris

Robert Lunnon bob at yarrabee.net.au
Sun Dec 22 05:53:47 CST 2002


On Sun, 22 Dec 2002 05:42, Alexandre Julliard wrote:
> 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.

Either way, there needs to be a conditional (or run-time test)




More information about the wine-devel mailing list