mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-12 21:01:00 +00:00
SDL2: compile SDL with SDL_main for Win32
This commit is contained in:
parent
c47ff7b3c6
commit
e8cf4cdaac
1 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue