fix build on 32-bit Windows

This commit is contained in:
Nicola Murino 2023-03-05 14:51:03 +01:00 committed by Jack Christensen
parent 0dbb0a52ab
commit 19039e6dd1

View File

@ -24,7 +24,7 @@ var ioctlsocket = dll.MustFindProc("ioctlsocket")
type sockMode int
const (
FIONBIO int = 0x8004667e
FIONBIO uint32 = 0x8004667e
sockModeBlocking sockMode = 0
sockModeNonBlocking sockMode = 1
)