Skip to content
Snippets Groups Projects
Commit e8cf4cda authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

SDL2: compile SDL with SDL_main for Win32

parent c47ff7b3
Branches
Tags
No related merge requests found
......@@ -55,6 +55,10 @@ PSP_MAIN_THREAD_STACK_SIZE_KB(256);
#include "i_ttf.h"
#endif
#if defined (_WIN32) && !defined (main)
#define SDLMAIN
#endif
#ifdef SDLMAIN
#include "SDL_main.h"
#elif defined(FORCESDLMAIN)
......@@ -132,7 +136,6 @@ static inline VOID MakeCodeWritable(VOID)
\return int
*/
FUNCNORETURN
#if defined (_XBOX) && defined (__GNUC__)
void XBoxStartup()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment