diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-08 06:40:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-08 06:40:17 +0200 |
commit | e43155b44f981088edab75f349ecc6beac9b9a94 (patch) | |
tree | 69cdd3b61e7b2966f20a5eda87213ac3e97d6eb8 | |
parent | a65019f41ae22c1bde7bdb70c2aea10361d1cc9a (diff) | |
parent | fe068b61ad4355372e454dc5bbaec0c42d58d67b (diff) |
Merge pull request #32454 from jeronimo-schreyer/disable_unix_socket
Optional Unix Socket disable for devices that do not support it
-rw-r--r-- | drivers/unix/net_socket_posix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/unix/net_socket_posix.cpp b/drivers/unix/net_socket_posix.cpp index 6a57a2e562..7a7d286c4d 100644 --- a/drivers/unix/net_socket_posix.cpp +++ b/drivers/unix/net_socket_posix.cpp @@ -30,6 +30,7 @@ #include "net_socket_posix.h" +#ifndef UNIX_SOCKET_UNAVAILABLE #if defined(UNIX_ENABLED) #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) { return _change_multicast_group(p_multi_address, p_if_name, false); } +#endif |