diff options
author | Paolo Carlini <pcarlini@suse.de> | 2007-04-22 10:36:04 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2007-04-22 10:36:04 +0000 |
commit | 87a208566110c45a8b33080a0eea54a184ca9712 (patch) | |
tree | 79d143ae8fabec4780e2b783fcba9ba3ebb06c50 /libstdc++-v3/include/tr1/boost_shared_ptr.h | |
parent | 3b476281b65d7b0814dbf73b528eed8bb08cc1f6 (diff) | |
download | gcc-87a208566110c45a8b33080a0eea54a184ca9712.tar.gz |
concurrence.h: Do not include <cstdlib>, use __builtin_abort.
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.
From-SVN: r124040
Diffstat (limited to 'libstdc++-v3/include/tr1/boost_shared_ptr.h')
-rw-r--r-- | libstdc++-v3/include/tr1/boost_shared_ptr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/tr1/boost_shared_ptr.h b/libstdc++-v3/include/tr1/boost_shared_ptr.h index 524a98ccc04..d90e6ff8171 100644 --- a/libstdc++-v3/include/tr1/boost_shared_ptr.h +++ b/libstdc++-v3/include/tr1/boost_shared_ptr.h @@ -1,6 +1,6 @@ // <tr1/boost_shared_ptr.h> -*- C++ -*- -// Copyright (C) 2005, 2006 Free Software Foundation, Inc. +// Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -73,7 +73,7 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1) #if __EXCEPTIONS throw bad_weak_ptr(); #else - std::abort(); + __builtin_abort(); #endif } |