Browse Source

[master] emergency patch for very new Xcode

Francis Dupont 10 years ago
parent
commit
2340a0ffa1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/dhcp/tests/iface_mgr_unittest.cc

+ 2 - 1
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.