0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 08:41:02 +08:00

win build

This commit is contained in:
Sergey Yagovtsev 2016-11-28 22:58:16 +03:00
parent f0d0859cb1
commit 2ddfa4db68

View File

@ -309,7 +309,11 @@ public:
//////////////////////////////////////////////////////////////////////////
ThreadStorage::ThreadStorage() : id(getCurrentThreadId()), allowChildren(true), named(false), pthread_id(pthread_self())
ThreadStorage::ThreadStorage() : id(getCurrentThreadId()), allowChildren(true), named(false)
#ifndef _WIN32
, pthread_id(pthread_self())
#endif
{
expired = ATOMIC_VAR_INIT(false);