This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Define AES_SOURCE so Tru64 UNIX V4.0F <stdlib.h> declares unsetenv() for ada/env.c
Richard Henderson <rth@redhat.com> writes:
> On 10/13/2009 11:45 AM, Rainer Orth wrote:
> > On Tru64 UNIX V4.0F, the unsetenv() declaration is protected by AES_SOURCE
> > (should really be _AES_SOURCE as everywhere else in the system headers), so
> > this needs to be defined for the compilation to continue.
>
> fixincludes?
Could be an option, but I've discovered a couple of open-source projects
that define AES_SOURCE to work around this. If you change this to
_AES_SOURCE, they all break ;-(
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University