aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/socket.c
diff options
context:
space:
mode:
authorGeert Bosch <bosch@adacore.com>2007-10-15 15:54:02 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2007-10-15 15:54:02 +0200
commitaace458a3ebb6f55045922bbccd23926e2d16e71 (patch)
treecfc09e8f4cf655b1ac7a9d7401ed327f6d481fd4 /gcc/ada/socket.c
parent67ce0d7e96fd6802815643dbfb8505fad5318e95 (diff)
downloadgcc-aace458a3ebb6f55045922bbccd23926e2d16e71.zip
gcc-aace458a3ebb6f55045922bbccd23926e2d16e71.tar.gz
gcc-aace458a3ebb6f55045922bbccd23926e2d16e71.tar.bz2
adaint.c, [...]: Initial port to arm-mentor-nucleus.
2007-10-15 Geert Bosch <bosch@adacore.com> * adaint.c, socket.c, cal.c: Initial port to arm-mentor-nucleus. * expect.c: Initial port to arm-mentor-nucleus. Use kill for __gnat_kill() on VMS. From-SVN: r129319
Diffstat (limited to 'gcc/ada/socket.c')
-rw-r--r--gcc/ada/socket.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/socket.c b/gcc/ada/socket.c
index cae30e6..913d1ca 100644
--- a/gcc/ada/socket.c
+++ b/gcc/ada/socket.c
@@ -31,7 +31,10 @@
****************************************************************************/
/* This file provides a portable binding to the sockets API */
-
+#if defined (__nucleus__)
+/* ??? Need proper implementation */
+#warning Sockets not yet supported on Nucleus
+#else
#include "gsocket.h"
/* Include all the necessary system-specific headers and define the
necessary macros (shared with gen-soccon). */
@@ -408,3 +411,4 @@ __gnat_get_h_errno (void) {
return h_errno;
#endif
}
+#endif /* __nucleus__ */