OSDN Git Service

2004-10-08 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / ext / mt_allocator / deallocate_global_thread-3.cc
index 10efea6..398ef31 100644 (file)
@@ -31,8 +31,10 @@ struct count_check
   count_check() {}
   ~count_check()
   {
+#ifdef _GLIBCXX_USE___CXA_ATEXIT
     if (count != 0)
       throw std::runtime_error("count isn't zero");
+#endif
   }
 };