From bb66175815d6cf1d0cf5a56aa86724b165cc7861 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 13 Dec 2023 06:55:40 +0300
Subject: [PATCH] updated sdl3_include_wrapper.h from latest SDL3
---
src/sdl3_include_wrapper.h | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/sdl3_include_wrapper.h b/src/sdl3_include_wrapper.h
index 2be2ec7..6c9f8fc 100644
--- a/src/sdl3_include_wrapper.h
+++ b/src/sdl3_include_wrapper.h
@@ -985,6 +985,9 @@
#define SDL_GetGamepadMappings IGNORE_THIS_VERSION_OF_SDL_GetGamepadMappings
#define SDL_GetTouchDevices IGNORE_THIS_VERSION_OF_SDL_GetTouchDevices
#define SDL_GetTouchDeviceName IGNORE_THIS_VERSION_OF_SDL_GetTouchDeviceName
+#define SDL_strnstr IGNORE_THIS_VERSION_OF_SDL_strnstr
+#define SDL_wcsnstr IGNORE_THIS_VERSION_OF_SDL_wcsnstr
+#define SDL_SyncWindow IGNORE_THIS_VERSION_OF_SDL_SyncWindow
#define SDL_FUNCTION_POINTER_IS_VOID_POINTER 1
@@ -4841,8 +4844,19 @@
#undef SDL_GetTouchDeviceName
#endif
-/* undefine these macros too: */
-/* redefine as SDL3_xxx, if needed. */
+#ifdef SDL_strnstr
+#undef SDL_strnstr
+#endif
+
+#ifdef SDL_wcsnstr
+#undef SDL_wcsnstr
+#endif
+
+#ifdef SDL_SyncWindow
+#undef SDL_SyncWindow
+#endif
+
+/* undefine these macros, too: redefine as SDL3_xxx, if needed. */
#ifdef SDL_enabled_assert
#undef SDL_enabled_assert