Improve support for private platforms (#11220)

This commit is contained in:
Caleb Cornett authored and GitHub committed 2024-10-15 18:02:07 -04:00
1 parent 66d09a1cda
commit 9af5ffcfbe
27 files changed
+70 -18

No files matched your search

+5 -1
View File
@@ -49,7 +49,11 @@
#include <SDL3/SDL_events.h>
#ifndef SDL_MAIN_HANDLED
#ifdef SDL_PLATFORM_WIN32
#if defined(SDL_PLATFORM_PRIVATE_MAIN)
/* Private platforms may have their own ideas about entry points. */
#include "SDL_main_private.h"
#elif defined(SDL_PLATFORM_WIN32)
/* On Windows SDL provides WinMain(), which parses the command line and passes
the arguments to your main function.