From 42c877f71471dd2acd2b971ee65f08308b59cf0c Mon Sep 17 00:00:00 2001 From: Louis M Date: Mon, 10 Jun 2024 14:14:38 -0400 Subject: [PATCH] Fix WinMain conflicting with SDL_main --- Aquaria/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aquaria/Main.cpp b/Aquaria/Main.cpp index 01c09cf..16bf693 100644 --- a/Aquaria/Main.cpp +++ b/Aquaria/Main.cpp @@ -67,7 +67,7 @@ static void CheckConfig(void) } -#if defined(BBGE_BUILD_WINDOWS) && !defined(BBGE_BUILD_SDL) +#if defined(BBGE_BUILD_WINDOWS) && !(defined(BBGE_BUILD_SDL) or defined(BBGE_BUILD_SDL2)) int WINAPI WinMain( HINSTANCE hInstance, // Instance HINSTANCE hPrevInstance, // Previous Instance LPSTR lpCmdLine, // Command Line Parameters