mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 13:12:42 +00:00
Optional Unix Socket disable for devices that do not support it
(cherry picked from commit fe068b61ad
)
This commit is contained in:
parent
ebc76d6c0f
commit
f18a8d3ffc
@ -30,6 +30,7 @@
|
||||
|
||||
#include "net_socket_posix.h"
|
||||
|
||||
#ifndef UNIX_SOCKET_UNAVAILABLE
|
||||
#if defined(UNIX_ENABLED)
|
||||
|
||||
#include <errno.h>
|
||||
@ -614,3 +615,4 @@ Ref<NetSocket> NetSocketPosix::accept(IP_Address &r_ip, uint16_t &r_port) {
|
||||
ns->set_blocking_enabled(false);
|
||||
return Ref<NetSocket>(ns);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user