mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-02 19:42:37 +00:00
I don't think there's any point in console_*main() for non-MSVC - I think it can't be called anyway now that SDL_main is header-only. So I renamed those functions to main() and wmain() and made them MSVC-only For reference, MinGW (at least the version I tested) supports both main() and WinMain(), no matter if compiled with -mconsole or -mwindows (it seems to prefer main() over WinMain() if both are available, in both cases). But when building with -municode, it needs wmain() or wWinMain(), so that case is now handled with wWinMain()