From fba73912606d9a818047ebbb7563c5b13906e254 Mon Sep 17 00:00:00 2001 From: Edric Milaret <edric.ladent-milaret@savoirfairelinux.com> Date: Tue, 7 Jun 2016 12:58:32 -0400 Subject: [PATCH] ios: fix ip_utils res_init is unssuported (compile but fail to find the symbol at runtime) Tuleap: #313 Change-Id: Ib2252b26285b5a76a7d9bc9e7c4f05ffdccbc944 --- src/ip_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ip_utils.cpp b/src/ip_utils.cpp index e7edd6ae8b..9043d6caf1 100644 --- a/src/ip_utils.cpp +++ b/src/ip_utils.cpp @@ -246,7 +246,7 @@ std::vector<IpAddr> ip_utils::getLocalNameservers() { std::vector<IpAddr> res; -#if defined __ANDROID__ || defined _WIN32 +#if defined __ANDROID__ || defined _WIN32 || TARGET_OS_IPHONE #warning "Not implemented" #else if (not (_res.options & RES_INIT)) -- GitLab