X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdebug%2Fexceptiontrace.cpp;h=8ffc9c81b988667cffa12d770c1a6e97e5244ba6;hb=f24e7b96e76b63c9b9b8a6bce4c7a9db64276ea8;hp=fb72223a84df776ee7cbd30cc40bdf92ce0ff86f;hpb=20c897ece781e18ba54c41fd68e232ce566a938d;p=libs%2Fcore.git 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; }