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 3/3] gcc/ada/socket.c: Add conditionals for RTEMS


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.

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