mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 20:28:28 +00:00
PortNintendo 3DS SDL_main to header-only + SDL_N3DSRunApp()
and move the #undef main and #define main SDL_main to the start/end of SDL_main_impl.h instead of repeating it in every platform implementation Thanks to SDL_N3DSRunApp we don't need the #include <3ds.h> in SDL_main_impl.h - that caused conflicts with testthread.c, because both have (different) ThreadFunc typedefs.
This commit is contained in:
parent
2aee3e654d
commit
1de559248e
7 changed files with 106 additions and 53 deletions
|
@ -886,3 +886,4 @@
|
|||
#define SDL_GetEventState SDL_GetEventState_REAL
|
||||
#define SDL_GetRenderDriver SDL_GetRenderDriver_REAL
|
||||
#define SDL_Win32RunApp SDL_Win32RunApp_REAL
|
||||
#define SDL_N3DSRunApp SDL_N3DSRunApp_REAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue