Fixed spacing

This commit is contained in:
Sam Lantinga 2024-10-08 11:49:08 -07:00
parent 312ecc4a52
commit c34790f9f1
2 changed files with 4 additions and 4 deletions

View file

@ -567,7 +567,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_GDKSuspendComplete(void);
* do *not* use SDL_main_impl.h (because SDL_main() is called from external Java code). * do *not* use SDL_main_impl.h (because SDL_main() is called from external Java code).
* If other platforms like that turn up, add them next to "defined(SDL_PLATFORM_ANDROID)" * If other platforms like that turn up, add them next to "defined(SDL_PLATFORM_ANDROID)"
*/ */
#if ( defined(SDL_MAIN_USE_CALLBACKS) || defined(SDL_MAIN_NEEDED) || defined(SDL_MAIN_AVAILABLE) ) && \ #if (defined(SDL_MAIN_USE_CALLBACKS) || defined(SDL_MAIN_NEEDED) || defined(SDL_MAIN_AVAILABLE)) && \
!defined(SDL_PLATFORM_ANDROID) !defined(SDL_PLATFORM_ANDROID)
/* platforms which main (-equivalent) can be implemented in plain C */ /* platforms which main (-equivalent) can be implemented in plain C */

View file

@ -82,7 +82,7 @@
#if defined(_MSC_VER) && !defined(SDL_PLATFORM_GDK) #if defined(_MSC_VER) && !defined(SDL_PLATFORM_GDK)
/* This is where execution begins [console apps] */ /* This is where execution begins [console apps] */
#if defined( UNICODE ) && UNICODE #if defined(UNICODE) && UNICODE
int wmain(int argc, wchar_t *wargv[], wchar_t *wenvp) int wmain(int argc, wchar_t *wargv[], wchar_t *wenvp)
{ {
(void)argc; (void)argc;
@ -107,7 +107,7 @@
extern "C" { extern "C" {
#endif #endif
#if defined( UNICODE ) && UNICODE #if defined(UNICODE) && UNICODE
int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrev, PWSTR szCmdLine, int sw) int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrev, PWSTR szCmdLine, int sw)
#else /* ANSI */ #else /* ANSI */
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw) int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)