This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]