aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDmitriy Anisimkov <anisimko@adacore.com>2021-05-20 22:58:31 +0600
committerPierre-Marie de Rodat <derodat@adacore.com>2021-07-07 16:23:19 +0000
commita5b5c7c2840ebb0aaa0d0f1e090fb2fc6942196d (patch)
tree1b95d4bc1b5c6bfea21e44324e6fdc7cf40009ff /gcc
parent2c03e97c5a50acc10fcb3545385fac4c1a9fa543 (diff)
downloadgcc-a5b5c7c2840ebb0aaa0d0f1e090fb2fc6942196d.zip
gcc-a5b5c7c2840ebb0aaa0d0f1e090fb2fc6942196d.tar.gz
gcc-a5b5c7c2840ebb0aaa0d0f1e090fb2fc6942196d.tar.bz2
[Ada] Remove unused define
gcc/ada/ * s-oscons-tmplt.c (MSG_WAITALL): Remove wrong #ifdef __MINWGW32__.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/s-oscons-tmplt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c
index 044e203..f373c39 100644
--- a/gcc/ada/s-oscons-tmplt.c
+++ b/gcc/ada/s-oscons-tmplt.c
@@ -1463,14 +1463,8 @@ CND(MSG_PEEK, "Peek at incoming data")
CND(MSG_EOR, "Send end of record")
#ifndef MSG_WAITALL
-#ifdef __MINWGW32__
-/* The value of MSG_WAITALL is 8. Nevertheless winsock.h doesn't
- define it, but it is still usable as we link to winsock2 API. */
-# define MSG_WAITALL (1 << 3)
-#else
# define MSG_WAITALL -1
#endif
-#endif
CND(MSG_WAITALL, "Wait for full reception")
#ifndef MSG_NOSIGNAL