1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 10:45:16 +01:00

Replace some SDL functions with our own

This commit is contained in:
Ted John
2017-03-26 22:30:23 +01:00
parent f8cb551721
commit 73fb132e41
16 changed files with 60 additions and 45 deletions

View File

@@ -14,9 +14,7 @@
*****************************************************************************/
#pragma endregion
#include <SDL_platform.h>
#if defined(DEBUG) && defined(__WINDOWS__)
#if defined(DEBUG) && defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef GetMessage
@@ -29,7 +27,7 @@ namespace Debug
void Break()
{
#if defined(DEBUG)
#if defined(__WINDOWS__)
#if defined(_WIN32)
if (IsDebuggerPresent())
{
DebugBreak();