Explorar el Código

ENet: add openbsd support

Sébastien Marie hace 3 años
padre
commit
cba3f1e374
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      vendor/ENet/unix.odin

+ 2 - 2
vendor/ENet/unix.odin

@@ -1,4 +1,4 @@
-//+build linux, darwin, freebsd
+//+build linux, darwin, freebsd, openbsd
 package ENet
 
 // 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 {
 	return FD_ISSET(i32(socket), cast(^fd_set)sockset)
-}
+}