win,mingw: Fix undefined MCAST_* constants

Fixes: https://github.com/libuv/libuv/issues/2464
Refs: https://github.com/libuv/libuv/pull/2471
PR-URL: https://github.com/libuv/libuv/pull/2461
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
This commit is contained in:
Crunkle 2019-09-08 15:46:47 +01:00 committed by Saúl Ibarra Corretgé
parent 59146f2f4b
commit 2140e2c08c

View File

@ -54,6 +54,14 @@
# define SIO_BASE_HANDLE 0x48000022
#endif
#ifndef MCAST_JOIN_SOURCE_GROUP
# define MCAST_JOIN_SOURCE_GROUP 45
#endif
#ifndef MCAST_LEAVE_SOURCE_GROUP
# define MCAST_LEAVE_SOURCE_GROUP 46
#endif
/*
* TDI defines that are only in the DDK.
* We only need receive flags so far.