summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-22 10:36:04 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-22 10:36:04 +0000
commit7772f653025559461408b96c82a768fc384f29d5 (patch)
tree79d143ae8fabec4780e2b783fcba9ba3ebb06c50 /libstdc++-v3/include/ext
parentd74db2a71f752f9ccbea907db655b0184a2c6723 (diff)
downloadgcc-7772f653025559461408b96c82a768fc384f29d5.tar.gz
2007-04-22 Paolo Carlini <pcarlini@suse.de>
* include/ext/concurrence.h: Do not include <cstdlib>, use __builtin_abort. * include/debug/debug.h: Likewise. * include/tr1/memory: Likewise. * include/tr1/boost_shared_ptr.h: Likewise. * include/tr1/functional: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124040 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/ext')
-rw-r--r--libstdc++-v3/include/ext/concurrence.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libstdc++-v3/include/ext/concurrence.h b/libstdc++-v3/include/ext/concurrence.h
index 56e07de91e0..6efb2a6be08 100644
--- a/libstdc++-v3/include/ext/concurrence.h
+++ b/libstdc++-v3/include/ext/concurrence.h
@@ -1,6 +1,6 @@
// Support for concurrent programing -*- C++ -*-
-// Copyright (C) 2003, 2004, 2005, 2006
+// Copyright (C) 2003, 2004, 2005, 2006, 2007
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -36,7 +36,6 @@
#ifndef _CONCURRENCE_H
#define _CONCURRENCE_H 1
-#include <cstdlib>
#include <exception>
#include <bits/gthr.h>
#include <bits/functexcept.h>
@@ -90,7 +89,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
#if __EXCEPTIONS
throw __concurrence_lock_error();
#else
- std::abort();
+ __builtin_abort();
#endif
}
@@ -100,7 +99,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
#if __EXCEPTIONS
throw __concurrence_unlock_error();
#else
- std::abort();
+ __builtin_abort();
#endif
}