X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fdebug%2Fexceptiontrace.cpp;fp=source%2Fdebug%2Fexceptiontrace.cpp;h=8ffc9c81b988667cffa12d770c1a6e97e5244ba6;hp=fb72223a84df776ee7cbd30cc40bdf92ce0ff86f;hb=f7087c847a03a2bb4e9392e41eac4cb1ec37172c;hpb=20c897ece781e18ba54c41fd68e232ce566a938d diff --git a/source/debug/exceptiontrace.cpp b/source/debug/exceptiontrace.cpp index fb72223..8ffc9c8 100644 --- a/source/debug/exceptiontrace.cpp +++ b/source/debug/exceptiontrace.cpp @@ -32,13 +32,7 @@ bool trace_enabled = false; Msp::Debug::Backtrace &get_thread_backtrace() { -#if __cplusplus>=201103L static thread_local Msp::Debug::Backtrace backtrace; -#elif defined(__GNUC__) - static __thread Msp::Debug::Backtrace backtrace; -#else - static Msp::Debug::Backtrace backtrace; -#endif return backtrace; }