Fix Win64 build.

This commit is contained in:
Sönke Ludwig 2017-01-23 09:09:30 +01:00
parent 5d3bc7e235
commit 2c4534d178

View file

@ -594,7 +594,7 @@ struct Handle(string NAME, T, T invalid_value = T.init) {
alias value this;
}
alias FD = Handle!("fd", int, -1);
alias FD = Handle!("fd", size_t, size_t.max);
alias SocketFD = Handle!("socket", FD);
alias StreamSocketFD = Handle!("streamSocket", SocketFD);
alias StreamListenSocketFD = Handle!("streamListen", SocketFD);