mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
ENet: add openbsd support
This commit is contained in:
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
//+build linux, darwin, freebsd
|
//+build linux, darwin, freebsd, openbsd
|
||||||
package ENet
|
package ENet
|
||||||
|
|
||||||
// When we implement the appropriate bindings for Unix, the section separated
|
// When we implement the appropriate bindings for Unix, the section separated
|
||||||
@@ -56,4 +56,4 @@ SOCKETSET_REMOVE :: #force_inline proc(sockset: ^SocketSet, socket: Socket) {
|
|||||||
|
|
||||||
SOCKSET_CHECK :: #force_inline proc(sockset: ^SocketSet, socket: Socket) -> bool {
|
SOCKSET_CHECK :: #force_inline proc(sockset: ^SocketSet, socket: Socket) -> bool {
|
||||||
return FD_ISSET(i32(socket), cast(^fd_set)sockset)
|
return FD_ISSET(i32(socket), cast(^fd_set)sockset)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user