[PATCH 3/3] gcc/ada/socket.c: Add conditionals for RTEMS

Mike Stump mikestump@comcast.net
Mon Aug 11 18:16:00 GMT 2014


On Aug 11, 2014, at 8:08 AM, Joel Sherrill <joel.sherrill@OARcorp.com> wrote:
> +#if defined(__rtems__)
> +#include <unistd.h>
> +/* Required, for read(), write(), and close() */
> +#endif

Strikes me as exceptionally odd.  Should be done unconditionally, and any system that doesn’t like that should be the odd ball.


More information about the Gcc-patches mailing list