diff options
author | Jairo <jeronimo.schreyer@gmail.com> | 2019-09-30 21:15:50 -0300 |
---|---|---|
committer | Jairo <jeronimo.schreyer@gmail.com> | 2019-09-30 21:15:50 -0300 |
commit | fe068b61ad4355372e454dc5bbaec0c42d58d67b (patch) | |
tree | 15f90dc069b9539e6a92ad14cdffdd2ffe3a2ad6 /drivers | |
parent | 24e1039eb6fe32115e8d1a62a84965e9be19a2ed (diff) |
Optional Unix Socket disable for devices that do not support it
Diffstat (limited to 'drivers')
-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 |