This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix Ada bootstrap on Tru64 UNIX
> Mon Jul 27 16:02:47 2009 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
>
> * env.c [__alpha__ && __osf__] (_BSD): Define.
>
> Index: gcc/ada/env.c
> ===================================================================
> --- gcc/ada/env.c (revision 150108)
> +++ gcc/ada/env.c (working copy)
> @@ -29,6 +29,11 @@
> * *
> ****************************************************************************/
>
> +/* Tru64 UNIX <stdlib.h> declares unsetenv() only iff _BSD. */
^^^^^^^^
replace comment by 'only if' or 'iff', since 'iff' means 'if and only if'
> +#if defined (__alpha__) && defined (__osf__)
> +#define _BSD
> +#endif
Patch is OK with the comment change, assuming testing passes.
Arno