aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gsocket.h
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-06-22 14:24:57 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-06-22 14:24:57 +0200
commitd88a51b1ca66baac89d59b5e379ef1b4f3f78eb4 (patch)
tree2c2f2f3cdeb10d78e9d0a86792f53fb95d5c97cd /gcc/ada/gsocket.h
parentd58bc084b4b97eb0056a2658604c855fa1775c5f (diff)
downloadgcc-d88a51b1ca66baac89d59b5e379ef1b4f3f78eb4.zip
gcc-d88a51b1ca66baac89d59b5e379ef1b4f3f78eb4.tar.gz
gcc-d88a51b1ca66baac89d59b5e379ef1b4f3f78eb4.tar.bz2
[multiple changes]
2009-06-22 Thomas Quinot <quinot@adacore.com> * exp_ch3.adb: Minor code reorganization (avoid an unnecessary tree copy). 2009-06-22 Ed Falis <falis@adacore.com> * sysdep.c: remove include for nfsLib.h and an NFS specific error message for VxWorks 653 vThreads: not supported by the OS. * gsocket.h: disable sockets for VxWorks 653 vThreads. 2009-06-22 Robert Dewar <dewar@adacore.com> * sem_ch6.adb: Add ??? comment for bad use of Style_Check 2009-06-22 Matthew Gingell <gingell@adacore.com> Arnaud Charlet <charlet@adacore.com> * a-stzhas.adb, a-stwiha.adb, impunit.adb, a-swbwha.adb, a-shcain.adb, s-htable.adb, a-szuzha.adb, a-stunha.adb, a-stboha.adb, a-strhas.adb, g-spitbo.adb, s-strhas.adb, a-szbzha.adb, s-strhas.ads, Makefile.rtl, a-swuwha.adb: New unit System.String_Hash. Refactor redundant cut and pasted hash functions with instances of a new generic hash function. Implement a new string hashing algorithm which appears in testing to be move effective than to previous approach. * gcc-interface/Make-lang.in: Update dependencies. * gcc-interface/Makefile.in: Reindent correctly vms targets. Fix setting of TOOLS_TARGET_PAIRS for bare board platforms. Disable socket support for Vxworks 653 vThreads. Improve handling of signals on darwin. (GNATMAKE_OBJS): Update dependencies. From-SVN: r148789
Diffstat (limited to 'gcc/ada/gsocket.h')
-rw-r--r--gcc/ada/gsocket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/gsocket.h b/gcc/ada/gsocket.h
index 16aa2ba..24928a1 100644
--- a/gcc/ada/gsocket.h
+++ b/gcc/ada/gsocket.h
@@ -29,9 +29,9 @@
* *
****************************************************************************/
-#if defined(__nucleus__)
+#if defined(__nucleus__) || defined(VTHREADS)
-#warning Sockets not supported on this platform
+#warning Sockets not supported on these platforms
#undef HAVE_SOCKETS
#else