Commit 67a7356b by Paolo Carlini Committed by Paolo Carlini

2007-05-27 Paolo Carlini <pcarlini@suse.de>

	* include/tr1/boost_shared_ptr.h
	(_Sp_counted_base<_S_mutex>::_M_add_ref_lock()): Do not wrap in
	#ifdef __GTHREADS.

2007-05-27  Paolo Carlini  <pcarlini@suse.de>

	* include/c_global/cwchar: Do not include <ctime>.
	* include/c_std/cwchar: Likewise.
	* include/ext/throw_allocator.h: Do it here.

From-SVN: r125112
parent 33935886
2007-05-27 Paolo Carlini <pcarlini@suse.de>
* include/tr1/boost_shared_ptr.h
(_Sp_counted_base<_S_mutex>::_M_add_ref_lock()): Do not wrap in
#ifdef __GTHREADS.
2007-05-27 Paolo Carlini <pcarlini@suse.de>
* include/c_global/cwchar: Do not include <ctime>.
* include/c_std/cwchar: Likewise.
* include/ext/throw_allocator.h: Do it here.
2007-05-25 Paolo Carlini <pcarlini@suse.de> 2007-05-25 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/c_locale.h (__convert_from_v): Fix typo. * config/locale/gnu/c_locale.h (__convert_from_v): Fix typo.
......
// -*- C++ -*- forwarding header. // -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -46,7 +47,6 @@ ...@@ -46,7 +47,6 @@
#include <bits/c++config.h> #include <bits/c++config.h>
#include <cstddef> #include <cstddef>
#include <ctime>
#if _GLIBCXX_HAVE_WCHAR_H #if _GLIBCXX_HAVE_WCHAR_H
#include_next <wchar.h> #include_next <wchar.h>
......
// -*- C++ -*- forwarding header. // -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -49,7 +50,6 @@ ...@@ -49,7 +50,6 @@
#include <bits/c++config.h> #include <bits/c++config.h>
#include <cstddef> #include <cstddef>
#include <ctime>
#if _GLIBCXX_HAVE_WCHAR_H #if _GLIBCXX_HAVE_WCHAR_H
#include <wchar.h> #include <wchar.h>
......
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
#define _THROW_ALLOCATOR_H 1 #define _THROW_ALLOCATOR_H 1
#include <cmath> #include <cmath>
#include <ctime>
#include <map> #include <map>
#include <set> #include <set>
#include <string> #include <string>
......
...@@ -194,7 +194,6 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1) ...@@ -194,7 +194,6 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1)
} }
} }
#ifdef __GTHREADS
template<> template<>
inline void inline void
_Sp_counted_base<_S_mutex>:: _Sp_counted_base<_S_mutex>::
...@@ -207,7 +206,6 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1) ...@@ -207,7 +206,6 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1)
__throw_bad_weak_ptr(); __throw_bad_weak_ptr();
} }
} }
#endif
template<> template<>
inline void inline void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment