This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] GNAT s-oscons-tmplt.c multiple undefined errnos
* Joel Sherrill, 2010-04-13 :
> Newlib always defines the POSIX errnos and there
> are conditionals for Linux and Cygwin. I cut out
> the common part and am attaching the conditional
> parts.
OK, looks like indeed ESHUTDOWN and ESOCKTNOSUPPORT are Linux specific
extensions.
> > Yes, rewriting into IFs may be a solution.
> I am happy to do this. Shouldn't take too long to
> submit a tested patch.
OK, great, thanks!
--
Thomas Quinot, Ph.D. ** quinot@adacore.com ** Senior Software Engineer
AdaCore -- Paris, France -- New York, USA