From f6605c653c5544a24ab9d103e50371954f9cfe55 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 18 Jan 2019 08:34:00 +0000 Subject: [PATCH] RTEMS/Ada: Remove RTEMS quirk The new network stack (libbsd) supports IPv6. gcc/ada * s-oscons-tmplt.c (AF_INET6): Do not undefine for RTEMS. From-SVN: r268061 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/s-oscons-tmplt.c | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index d680ef63cd1..d992dc147cf 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2019-01-18 Sebastian Huber + + * s-oscons-tmplt.c (AF_INET6): Do not undefine for RTEMS. + 2019-01-09 Sandra Loosemore PR other/16615 diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c index f69b5a1061c..f63ea52a4ff 100644 --- a/gcc/ada/s-oscons-tmplt.c +++ b/gcc/ada/s-oscons-tmplt.c @@ -1041,14 +1041,6 @@ CST(PTY_Library, "for g-exptty") #endif CND(AF_INET, "IPv4 address family") -/** - ** RTEMS lies and defines AF_INET6 even though there is no IPV6 support. - ** Its TCP/IP stack is in transition. It has newer .h files but no IPV6 yet. - **/ -#if defined(__rtems__) -# undef AF_INET6 -#endif - #ifndef AF_INET6 # define AF_INET6 -1 #else -- 2.30.2