mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-16 08:04:07 +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:
|
||||
panic("set_option() value must be an integer here", loc)
|
||||
}
|
||||
ptr = &int_value
|
||||
len = size_of(int_value)
|
||||
case:
|
||||
unimplemented("set_option() option not yet implemented", loc)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user