atexit_thread.cc (HAVE___CXA_THREAD_ATEXIT_IMPL): Add _GLIBCXX_ prefix to macro.

2014-08-01  Zifei Tong  <zifeitong@gmail.com>

	* libsupc++/atexit_thread.cc (HAVE___CXA_THREAD_ATEXIT_IMPL): Add
	_GLIBCXX_ prefix to macro.

From-SVN: r213504
This commit is contained in:
Zifei Tong 2014-08-01 19:45:56 +00:00 committed by Jonathan Wakely
parent aaebbe1f5e
commit a7f930e7c3
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-08-01 Zifei Tong <zifeitong@gmail.com>
* libsupc++/atexit_thread.cc (HAVE___CXA_THREAD_ATEXIT_IMPL): Add
_GLIBCXX_ prefix to macro.
2014-07-29 Jonathan Wakely <jwakely@redhat.com>
* python/libstdcxx/v6/printers.py

View File

@ -26,7 +26,7 @@
#include <new>
#include "bits/gthr.h"
#if HAVE___CXA_THREAD_ATEXIT_IMPL
#if _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL
extern "C" int __cxa_thread_atexit_impl (void (*func) (void *),
void *arg, void *d);
@ -38,7 +38,7 @@ __cxxabiv1::__cxa_thread_atexit (void (*dtor)(void *),
return __cxa_thread_atexit_impl (dtor, obj, dso_handle);
}
#else /* HAVE___CXA_THREAD_ATEXIT_IMPL */
#else /* _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL */
namespace {
// One element in a singly-linked stack of cleanups.
@ -142,4 +142,4 @@ __cxxabiv1::__cxa_thread_atexit (void (*dtor)(void *), void *obj, void */*dso_ha
return 0;
}
#endif /* HAVE___CXA_THREAD_ATEXIT_IMPL */
#endif /* _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL */