mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-28 15:16:43 +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 std::shared_ptr<INavigationKeys> keys;
|
||||
|
||||
#ifdef DEBUG
|
||||
#if defined(DEBUG) || defined(_DEBUG)
|
||||
#ifdef WIN32
|
||||
static DWORD mainThreadId = GetCurrentThreadId();
|
||||
#define ASSERT_MAIN_THREAD() assert(GetCurrentThreadId() == mainThreadId);
|
||||
|
Loading…
Reference in New Issue
Block a user