Merge pull request #32454 from jeronimo-schreyer/disable_unix_socket

Optional Unix Socket disable for devices that do not support it
This commit is contained in:
Rémi Verschelde 2019-10-08 06:40:17 +02:00 committed by GitHub
commit e43155b44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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