From 2340a0ffa1c872260b60168c1706b01b8083d973 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Thu, 9 Apr 2015 18:27:53 +0200 Subject: [PATCH] [master] emergency patch for very new Xcode --- src/lib/dhcp/tests/iface_mgr_unittest.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/dhcp/tests/iface_mgr_unittest.cc b/src/lib/dhcp/tests/iface_mgr_unittest.cc index 014bb321e9..6ea123b527 100644 --- a/src/lib/dhcp/tests/iface_mgr_unittest.cc +++ b/src/lib/dhcp/tests/iface_mgr_unittest.cc @@ -526,13 +526,14 @@ TEST_F(IfaceMgrTest, dhcp6Sniffer) { } #endif +#if !defined(__apple_build_version__) || (__apple_build_version__ < 6020000) TEST_F(IfaceMgrTest, basic) { // Checks that IfaceManager can be instantiated IfaceMgr & ifacemgr = IfaceMgr::instance(); ASSERT_TRUE(&ifacemgr != 0); } - +#endif // This test verifies that sockets can be closed selectively, i.e. all // IPv4 sockets can be closed first and all IPv6 sockets remain open. -- 2.47.2