mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
Fix #if defined for when compiling on DEBUG on non-Windows platforms.
This commit is contained in:
@@ -28,8 +28,8 @@ namespace Debug
|
||||
{
|
||||
void Break()
|
||||
{
|
||||
#if DEBUG
|
||||
#if __WINDOWS__
|
||||
#if defined(DEBUG)
|
||||
#if defined(__WINDOWS__)
|
||||
if (IsDebuggerPresent())
|
||||
{
|
||||
DebugBreak();
|
||||
|
||||
Reference in New Issue
Block a user