From 14e7da75b2e32d0aae9ee9a7c435547d314b3307 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 12 Oct 2016 19:50:16 -0700 Subject: [PATCH] Backed out change 7d3df1df4e91 which was: Fixed bug 3320 - SDL_windows_main.c defines both console application entry points With that change only the wmain() entry point was defined, and applications that linked with main() would no longer build. --- src/main/windows/SDL_windows_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/windows/SDL_windows_main.c b/src/main/windows/SDL_windows_main.c index 596ef531fba1e..67ef98e6c3727 100644 --- a/src/main/windows/SDL_windows_main.c +++ b/src/main/windows/SDL_windows_main.c @@ -110,10 +110,9 @@ OutOfMemory(void) #if defined(_MSC_VER) /* The VC++ compiler needs main/wmain defined */ +# define console_ansi_main main # if UNICODE # define console_wmain wmain -# else -# define console_ansi_main main # endif #endif