mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix integer socket option values for FreeBSD
This commit is contained in:
@@ -304,6 +304,8 @@ _set_option :: proc(socket: Any_Socket, option: Socket_Option, value: any, loc :
|
|||||||
case:
|
case:
|
||||||
panic("set_option() value must be an integer here", loc)
|
panic("set_option() value must be an integer here", loc)
|
||||||
}
|
}
|
||||||
|
ptr = &int_value
|
||||||
|
len = size_of(int_value)
|
||||||
case:
|
case:
|
||||||
unimplemented("set_option() option not yet implemented", loc)
|
unimplemented("set_option() option not yet implemented", loc)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user