mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-16 04:14:05 +00:00
Also check for _DEBUG
This commit is contained in:
parent
2989870580
commit
5332bb3526
@ -59,7 +59,7 @@ static Window* focused = nullptr;
|
|||||||
static MessageQueue messageQueue;
|
static MessageQueue messageQueue;
|
||||||
static std::shared_ptr<INavigationKeys> keys;
|
static std::shared_ptr<INavigationKeys> keys;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#if defined(DEBUG) || defined(_DEBUG)
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
static DWORD mainThreadId = GetCurrentThreadId();
|
static DWORD mainThreadId = GetCurrentThreadId();
|
||||||
#define ASSERT_MAIN_THREAD() assert(GetCurrentThreadId() == mainThreadId);
|
#define ASSERT_MAIN_THREAD() assert(GetCurrentThreadId() == mainThreadId);
|
||||||
|
Loading…
Reference in New Issue
Block a user