You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Optional Unix Socket disable for devices that do not support it
(cherry picked from commit fe068b61ad)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user