]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Remove unused define
authorDmitriy Anisimkov <anisimko@adacore.com>
Thu, 20 May 2021 16:58:31 +0000 (22:58 +0600)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 7 Jul 2021 16:23:19 +0000 (16:23 +0000)
gcc/ada/

* s-oscons-tmplt.c (MSG_WAITALL): Remove wrong #ifdef
__MINWGW32__.

gcc/ada/s-oscons-tmplt.c

index 044e203cdb690ce110bff6a1b346ac4c8dd9add0..f373c39b9c24420793f748d39486df2184d16ea2 100644 (file)
@@ -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