From 1c79edbe0223372ae75bb52f7cb9c6f9f6209009 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 24 Jan 2024 20:37:00 +0300 Subject: [PATCH] SDL_test_memory.c: adjust for new SDL_PLATFORM_WINDOWS meaning. --- src/test/SDL_test_memory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/SDL_test_memory.c b/src/test/SDL_test_memory.c index aef6961382..b9a1e9efee 100644 --- a/src/test/SDL_test_memory.c +++ b/src/test/SDL_test_memory.c @@ -25,7 +25,7 @@ #include #endif -#ifdef SDL_PLATFORM_WINDOWS +#ifdef SDL_PLATFORM_WIN32 #include #include @@ -153,7 +153,7 @@ static void SDL_TrackAllocation(void *mem, size_t size) } } } -#elif defined(SDL_PLATFORM_WINDOWS) +#elif defined(SDL_PLATFORM_WIN32) { Uint32 count; PVOID frames[63]; @@ -295,7 +295,7 @@ void SDLTest_TrackAllocations(void) if (s_previous_allocations != 0) { SDL_Log("SDLTest_TrackAllocations(): There are %d previous allocations, disabling free() validation", s_previous_allocations); } -#ifdef SDL_PLATFORM_WINDOWS +#ifdef SDL_PLATFORM_WIN32 { s_dbghelp = SDL_LoadObject("dbghelp.dll"); if (s_dbghelp) {