Add multicast constant definitions for Solaris.

This commit is contained in:
Sönke Ludwig 2017-09-26 15:45:51 +02:00
parent fc6c18faad
commit a52d064c9e

View file

@ -46,6 +46,10 @@ version(FreeBSD) {
enum IP_MULTICAST_LOOP = 11; enum IP_MULTICAST_LOOP = 11;
} else import core.sys.freebsd.netinet.in_ : IP_ADD_MEMBERSHIP, IP_MULTICAST_LOOP; } 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) { version (Windows) {
import core.sys.windows.windows; import core.sys.windows.windows;
import core.sys.windows.winsock2; import core.sys.windows.winsock2;