public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2130] [Ada] Remove unused define
@ 2021-07-07 16:26 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-07-07 16:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:a5b5c7c2840ebb0aaa0d0f1e090fb2fc6942196d

commit r12-2130-ga5b5c7c2840ebb0aaa0d0f1e090fb2fc6942196d
Author: Dmitriy Anisimkov <anisimko@adacore.com>
Date:   Thu May 20 22:58:31 2021 +0600

    [Ada] Remove unused define
    
    gcc/ada/
    
            * s-oscons-tmplt.c (MSG_WAITALL): Remove wrong #ifdef
            __MINWGW32__.

Diff:
---
 gcc/ada/s-oscons-tmplt.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c
index 044e203cdb6..f373c39b9c2 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-07 16:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07 16:26 [gcc r12-2130] [Ada] Remove unused define Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).