sdl12-compat: update SDL20_include_wrapper.h header after latest SDL2 additions. (e64f7)

From e64f78dd5309ac632398f19998e47c3d0307a82d Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 26 Aug 2023 20:51:56 +0300
Subject: [PATCH] update SDL20_include_wrapper.h header after latest SDL2
 additions.

---
 src/SDL20_include_wrapper.h | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/SDL20_include_wrapper.h b/src/SDL20_include_wrapper.h
index 8a791727a..785b89e47 100644
--- a/src/SDL20_include_wrapper.h
+++ b/src/SDL20_include_wrapper.h
@@ -897,10 +897,12 @@
 #define SDL_GDKSuspendComplete IGNORE_THIS_VERSION_OF_SDL_GDKSuspendComplete
 #define SDL_HasWindowSurface IGNORE_THIS_VERSION_OF_SDL_HasWindowSurface
 #define SDL_DestroyWindowSurface IGNORE_THIS_VERSION_OF_SDL_DestroyWindowSurface
+#define SDL_GDKGetDefaultUser IGNORE_THIS_VERSION_OF_SDL_GDKGetDefaultUser
 
+
+#if defined(_WIN32) || defined(__OS2__)
 /* *** HACK HACK HACK:
  * *** Avoid including SDL_thread.h: it defines SDL_CreateThread() as a macro */
-#if defined(_WIN32) || defined(__OS2__)
 #define _SDL_thread_h
 #define SDL_thread_h_
 #define SDL_PASSED_BEGINTHREAD_ENDTHREAD
@@ -939,6 +941,7 @@ typedef void (__cdecl *pfnSDL_CurrentEndThread) (unsigned);
 #undef CreateMutex
 #endif /* _WIN32 */
 
+
 #ifdef SDL_BlitSurface
 #undef SDL_BlitSurface
 #endif
@@ -4427,6 +4430,10 @@ typedef void (__cdecl *pfnSDL_CurrentEndThread) (unsigned);
 #undef SDL_DestroyWindowSurface
 #endif
 
+#ifdef SDL_GDKGetDefaultUser
+#undef SDL_GDKGetDefaultUser
+#endif
+
 /* undefine these macros too: */
 /* redefine using SDL2_xxx, if needed. */