1
0
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:
zaxcav
2016-09-22 13:21:22 +02:00
parent fd66526351
commit 1810e56cc6

View File

@@ -28,8 +28,8 @@ namespace Debug
{
void Break()
{
#if DEBUG
#if __WINDOWS__
#if defined(DEBUG)
#if defined(__WINDOWS__)
if (IsDebuggerPresent())
{
DebugBreak();