mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 01:16:26 +00:00

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.