From c34790f9f14c104d06c6e6ed4f52d1a7d7441acc Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 8 Oct 2024 11:49:08 -0700
Subject: [PATCH] Fixed spacing
---
include/SDL3/SDL_main.h | 4 ++--
include/SDL3/SDL_main_impl.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/SDL3/SDL_main.h b/include/SDL3/SDL_main.h
index ecd8ffb3244ca..6160e5e364e61 100644
--- a/include/SDL3/SDL_main.h
+++ b/include/SDL3/SDL_main.h
@@ -567,8 +567,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_GDKSuspendComplete(void);
* 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 ( defined(SDL_MAIN_USE_CALLBACKS) || defined(SDL_MAIN_NEEDED) || defined(SDL_MAIN_AVAILABLE) ) && \
- !defined(SDL_PLATFORM_ANDROID)
+ #if (defined(SDL_MAIN_USE_CALLBACKS) || defined(SDL_MAIN_NEEDED) || defined(SDL_MAIN_AVAILABLE)) && \
+ !defined(SDL_PLATFORM_ANDROID)
/* platforms which main (-equivalent) can be implemented in plain C */
#include <SDL3/SDL_main_impl.h>
diff --git a/include/SDL3/SDL_main_impl.h b/include/SDL3/SDL_main_impl.h
index feca572bcefb2..950b750bc7a82 100644
--- a/include/SDL3/SDL_main_impl.h
+++ b/include/SDL3/SDL_main_impl.h
@@ -82,7 +82,7 @@
#if defined(_MSC_VER) && !defined(SDL_PLATFORM_GDK)
/* 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)
{
(void)argc;
@@ -107,7 +107,7 @@
extern "C" {
#endif
- #if defined( UNICODE ) && UNICODE
+ #if defined(UNICODE) && UNICODE
int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrev, PWSTR szCmdLine, int sw)
#else /* ANSI */
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)