diff --git a/src/common/ThreadStart.h b/src/common/ThreadStart.h index 40412735e4f..e92e2939997 100644 --- a/src/common/ThreadStart.h +++ b/src/common/ThreadStart.h @@ -74,7 +74,7 @@ class Thread public: #ifdef WIN_NT typedef HANDLE Handle; - constexpr static Handle INVALID_HANDLE = INVALID_HANDLE_VALUE; + inline static const Handle INVALID_HANDLE = INVALID_HANDLE_VALUE; #endif #ifdef USE_POSIX_THREADS typedef pthread_t Handle;