From 2ddfa4db68ff4057cc8271960c20b860aba8bf61 Mon Sep 17 00:00:00 2001 From: Sergey Yagovtsev Date: Mon, 28 Nov 2016 22:58:16 +0300 Subject: [PATCH] win build --- src/profile_manager.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/profile_manager.cpp b/src/profile_manager.cpp index 426174d..b786521 100644 --- a/src/profile_manager.cpp +++ b/src/profile_manager.cpp @@ -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);