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
This commit is contained in:
Sebastian Huber 2019-01-18 08:34:00 +00:00 committed by Sebastian Huber
parent 5928bc2ec0
commit f6605c653c
2 changed files with 4 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2019-01-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* s-oscons-tmplt.c (AF_INET6): Do not undefine for RTEMS.
2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
PR other/16615

View File

@ -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