sdl2-compat: change SDL3 header inclusion to follow mainstream. minor clean-up.

From 1783c4948d973650f921721bd29191418417d22d Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sun, 27 Nov 2022 20:30:02 +0300
Subject: [PATCH] change SDL3 header inclusion to follow mainstream. minor
 clean-up.

---
 src/sdl3_include_wrapper.h | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/sdl3_include_wrapper.h b/src/sdl3_include_wrapper.h
index 956b25c..47cc7f4 100644
--- a/src/sdl3_include_wrapper.h
+++ b/src/sdl3_include_wrapper.h
@@ -900,24 +900,24 @@
 
 /* *** HACK HACK HACK:
  * *** Avoid including SDL_thread.h: it defines SDL_CreateThread() as a macro */
-#if defined(_WIN32)
+#ifdef _WIN32
 #define _SDL_thread_h
 #define SDL_thread_h_
 #define SDL_PASSED_BEGINTHREAD_ENDTHREAD
 #endif
 
 #define __BUILDING_SDL2_COMPAT__ 1
-#include "SDL.h"
+#include <SDL3/SDL.h>
 
 #if !SDL_VERSION_ATLEAST(3,0,0)
 #error You need to compile against SDL >= 3.0.0 headers.
 #endif
 
-#include "SDL_syswm.h"
-#include "SDL_vulkan.h"
+#include <SDL3/SDL_syswm.h>
+#include <SDL3/SDL_vulkan.h>
 
-/* Missing SDL_thread.h stuff (see above): */
-#if defined(_WIN32)
+/* Missing SDL_thread.h stuff (see above) */
+#ifdef _WIN32
 #ifndef WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN 1
 #endif
@@ -935,7 +935,7 @@ typedef int (SDLCALL *SDL_ThreadFunction) (void*);
 typedef UINT_PTR (__cdecl *pfnSDL_CurrentBeginThread)
                    (void*, unsigned, unsigned (__stdcall *func)(void*), void*, unsigned, unsigned*);
 typedef void (__cdecl *pfnSDL_CurrentEndThread) (unsigned);
-/* the following macros from Win32 SDK headers are harmful here: */
+/* the following macros from Win32 SDK headers are harmful here. */
 #undef CreateWindow
 #undef CreateThread
 #undef CreateSemaphore
@@ -4421,4 +4421,3 @@ typedef void (__cdecl *pfnSDL_CurrentEndThread) (unsigned);
 #endif
 
 /* vi: set ts=4 sw=4 expandtab: */
-