mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-19 09:05:17 +08:00
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:
parent
aaebbe1f5e
commit
a7f930e7c3
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user