]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] emergency patch for very new Xcode
authorFrancis Dupont <fdupont@isc.org>
Thu, 9 Apr 2015 16:27:53 +0000 (18:27 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 9 Apr 2015 16:27:53 +0000 (18:27 +0200)
src/lib/dhcp/tests/iface_mgr_unittest.cc

index 014bb321e983122cc0d164c24eb29fdc36dc06c1..6ea123b527b4d66869b73cfcc835173b8b9478fd 100644 (file)
@@ -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.