From: sh Date: Fri, 18 Jan 2019 08:34:00 +0000 (+0000) Subject: RTEMS/Ada: Remove RTEMS quirk X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a3c51d94d2a9d2f972ecf3c20445c7b0572f97a;p=thirdparty%2Fgcc.git 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268061 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index d680ef63cd11..d992dc147cf9 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 f69b5a1061c7..f63ea52a4ffa 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