From 5332bb3526ad1820b0937f883c2a551757794d1a Mon Sep 17 00:00:00 2001 From: casey langen Date: Sat, 24 Oct 2020 14:05:46 -0700 Subject: [PATCH] Also check for _DEBUG --- src/musikcube/cursespp/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/musikcube/cursespp/Window.cpp b/src/musikcube/cursespp/Window.cpp index f8137e0c6..a700d3ccd 100755 --- a/src/musikcube/cursespp/Window.cpp +++ b/src/musikcube/cursespp/Window.cpp @@ -59,7 +59,7 @@ static Window* focused = nullptr; static MessageQueue messageQueue; static std::shared_ptr keys; -#ifdef DEBUG +#if defined(DEBUG) || defined(_DEBUG) #ifdef WIN32 static DWORD mainThreadId = GetCurrentThreadId(); #define ASSERT_MAIN_THREAD() assert(GetCurrentThreadId() == mainThreadId);