You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Optional Unix Socket disable for devices that do not support it
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
#include "net_socket_posix.h"
|
#include "net_socket_posix.h"
|
||||||
|
|
||||||
|
#ifndef UNIX_SOCKET_UNAVAILABLE
|
||||||
#if defined(UNIX_ENABLED)
|
#if defined(UNIX_ENABLED)
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@@ -691,3 +692,4 @@ Error NetSocketPosix::join_multicast_group(const IP_Address &p_multi_address, St
|
|||||||
Error NetSocketPosix::leave_multicast_group(const IP_Address &p_multi_address, String p_if_name) {
|
Error NetSocketPosix::leave_multicast_group(const IP_Address &p_multi_address, String p_if_name) {
|
||||||
return _change_multicast_group(p_multi_address, p_if_name, false);
|
return _change_multicast_group(p_multi_address, p_if_name, false);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user