summaryrefslogtreecommitdiff
path: root/gcc/ada/socket.c
diff options
context:
space:
mode:
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 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__ */