From 5091bc2f9c53037f5234f613da07b8318d70c32b Mon Sep 17 00:00:00 2001 From: charlet Date: Mon, 15 Oct 2007 13:54:02 +0000 Subject: 2007-10-15 Geert Bosch * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129319 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/socket.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/ada/socket.c') diff --git a/gcc/ada/socket.c b/gcc/ada/socket.c index cae30e6619c..913d1ca40f6 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__ */ -- cgit v1.2.3