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

From 4cc23ab92477ab8446a1745a7d4f202354e430a9 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 10 Jun 2023 20:23:00 +0300
Subject: [PATCH] update SDL20_include_wrapper.h header after latest SDL2
 additions.

---
 src/SDL20_include_wrapper.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/SDL20_include_wrapper.h b/src/SDL20_include_wrapper.h
index 55c04d6fe..8a791727a 100644
--- a/src/SDL20_include_wrapper.h
+++ b/src/SDL20_include_wrapper.h
@@ -895,6 +895,8 @@
 #define SDL_ResetHints IGNORE_THIS_VERSION_OF_SDL_ResetHints
 #define SDL_strcasestr IGNORE_THIS_VERSION_OF_SDL_strcasestr
 #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
 
 /* *** HACK HACK HACK:
  * *** Avoid including SDL_thread.h: it defines SDL_CreateThread() as a macro */
@@ -4417,6 +4419,14 @@ typedef void (__cdecl *pfnSDL_CurrentEndThread) (unsigned);
 #undef SDL_GDKSuspendComplete
 #endif
 
+#ifdef SDL_HasWindowSurface
+#undef SDL_HasWindowSurface
+#endif
+
+#ifdef SDL_DestroyWindowSurface
+#undef SDL_DestroyWindowSurface
+#endif
+
 /* undefine these macros too: */
 /* redefine using SDL2_xxx, if needed. */