mirror of
https://github.com/vlang/v.git
synced 2025-09-08 23:07:19 -04:00
net: use explicit int casts for net.error_eintr etc in the unix implementation too for consistency with the windows one
This commit is contained in:
parent
2f59018a96
commit
295807d7ef
@ -23,9 +23,9 @@ fn init() {
|
||||
pub const msg_nosignal = 0x4000
|
||||
pub const msg_dontwait = C.MSG_DONTWAIT
|
||||
|
||||
pub const error_ewouldblock = C.EWOULDBLOCK
|
||||
pub const error_einprogress = C.EINPROGRESS
|
||||
pub const error_eagain = C.EAGAIN
|
||||
pub const error_eintr = C.EINTR
|
||||
pub const error_ewouldblock = int(C.EWOULDBLOCK)
|
||||
pub const error_einprogress = int(C.EINPROGRESS)
|
||||
pub const error_eagain = int(C.EAGAIN)
|
||||
pub const error_eintr = int(C.EINTR)
|
||||
|
||||
fn C.unlink(&char) int
|
||||
|
Loading…
x
Reference in New Issue
Block a user