Better SENF configuration support (local_config.hh)
[senf.git] / Utils / IteratorTraits.test.cc
index 850d3e0..d874e22 100644 (file)
@@ -1,3 +1,5 @@
+// $Id$
+//
 // Copyright (C) 2007 
 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
 // Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
@@ -39,7 +41,7 @@ BOOST_AUTO_UNIT_TEST(iteratorTraits)
 {
     BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator<int*>::value, true );
     BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator<void>::value, false );
-#ifdef __GNUG__
+#if defined(__GNUG__) && ! defined(_GLIBCXX_DEBUG)
     BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator<std::vector<int>::iterator>::value, true);
     BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator<std::string::iterator>::value, true);
 #endif