From e5a75e8c829a3cc1d7ffd6d112d55f9edb50f6d9 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 5 Oct 2005 22:42:24 +0000 Subject: [PATCH] Modify to support console_main() using borland compilers. --- src/conio/SDL_win32_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conio/SDL_win32_main.c b/src/conio/SDL_win32_main.c index b0251eb733..0626bda45f 100644 --- a/src/conio/SDL_win32_main.c +++ b/src/conio/SDL_win32_main.c @@ -184,7 +184,7 @@ static void __cdecl cleanup_output(void) #endif } -#if defined(_MSC_VER) && !defined(_WIN32_WCE) +#if (defined(__BORLANDC__) || defined(_MSC_VER)) && !defined(_WIN32_WCE) /* The VC++ compiler needs main defined */ #define console_main main #endif -- GitLab