From a52d064c9e2c888452f1578769da70b921cc6711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Tue, 26 Sep 2017 15:45:51 +0200 Subject: [PATCH] Add multicast constant definitions for Solaris. --- source/eventcore/drivers/posix/sockets.d | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/eventcore/drivers/posix/sockets.d b/source/eventcore/drivers/posix/sockets.d index 3607174..59d86e6 100644 --- a/source/eventcore/drivers/posix/sockets.d +++ b/source/eventcore/drivers/posix/sockets.d @@ -46,6 +46,10 @@ version(FreeBSD) { enum IP_MULTICAST_LOOP = 11; } else import core.sys.freebsd.netinet.in_ : IP_ADD_MEMBERSHIP, IP_MULTICAST_LOOP; } +version (Solaris) { + enum IP_ADD_MEMBERSHIP = 0x13; + enum IP_MULTICAST_LOOP = 0x12; +} version (Windows) { import core.sys.windows.windows; import core.sys.windows.winsock2;