Add missing ESHUTDOWN constant for macOS.
This commit is contained in:
parent
7c3fdc5ddf
commit
8597d2ae34
|
@ -69,6 +69,8 @@ version(OSX) {
|
|||
enum IP_ADD_MEMBERSHIP = 12;
|
||||
enum IP_MULTICAST_LOOP = 11;
|
||||
} else import core.sys.darwin.netinet.in_ : IP_ADD_MEMBERSHIP, IP_MULTICAST_LOOP;
|
||||
|
||||
static if (!is(typeof(ESHUTDOWN))) enum ESHUTDOWN = 58;
|
||||
}
|
||||
version(FreeBSD) {
|
||||
static if (__VERSION__ < 2077) {
|
||||
|
|
Loading…
Reference in a new issue