mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-06 02:59:12 +00:00
don't setup MDP named socket on iOS
This commit is contained in:
parent
951cc90bde
commit
2ec4744460
@ -50,6 +50,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#include <dirent.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef __APPLE__
|
||||
#include "TargetConditionals.h"
|
||||
#endif
|
||||
|
||||
#include "serval.h"
|
||||
#include "conf.h"
|
||||
#include "str.h"
|
||||
@ -252,6 +256,10 @@ static void overlay_mdp_setup_sockets()
|
||||
if (serverMode == SERVER_NOT_RUNNING)
|
||||
return;
|
||||
|
||||
#ifdef TARGET_OS_IPHONE
|
||||
return;
|
||||
#endif
|
||||
|
||||
/* Delete stale socket files from instance directory. */
|
||||
overlay_mdp_clean_socket_files();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user