aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-01-18 08:34:00 +0000
committerSebastian Huber <sh@gcc.gnu.org>2019-01-18 08:34:00 +0000
commitf6605c653c5544a24ab9d103e50371954f9cfe55 (patch)
treeb02c86c5513bd9b4a3527665da0c41ba786b41f2 /gcc/ada
parent5928bc2ec06dd4e7b5bd77a5915eb268f7bd5619 (diff)
downloadgcc-f6605c653c5544a24ab9d103e50371954f9cfe55.zip
gcc-f6605c653c5544a24ab9d103e50371954f9cfe55.tar.gz
gcc-f6605c653c5544a24ab9d103e50371954f9cfe55.tar.bz2
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
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/s-oscons-tmplt.c8
2 files changed, 4 insertions, 8 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index d680ef6..d992dc1 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -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
diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c
index f69b5a1..f63ea52 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