From 502db3504cad0ac80ee9fbead1a8c7c9f369753e Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 11 Jul 2023 11:37:50 +0300
Subject: [PATCH] updated sdl3_include_wrapper.h from latest SDL3
---
src/sdl3_include_wrapper.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/sdl3_include_wrapper.h b/src/sdl3_include_wrapper.h
index 9e46e33..f572692 100644
--- a/src/sdl3_include_wrapper.h
+++ b/src/sdl3_include_wrapper.h
@@ -895,6 +895,7 @@
#define SDL_wcsstr IGNORE_THIS_VERSION_OF_SDL_wcsstr
#define SDL_wcstol IGNORE_THIS_VERSION_OF_SDL_wcstol
#define SDL_ClearClipboardData IGNORE_THIS_VERSION_OF_SDL_ClearClipboardData
+#define SDL_GetGamepadInstanceID IGNORE_THIS_VERSION_OF_SDL_GetGamepadInstanceID
/* *** HACK HACK HACK:
* *** Avoid including SDL_thread.h: it defines SDL_CreateThread() as a macro
@@ -4421,6 +4422,10 @@ typedef void (__cdecl *pfnSDL_CurrentEndThread) (unsigned);
#undef SDL_ClearClipboardData
#endif
+#ifdef SDL_GetGamepadInstanceID
+#undef SDL_GetGamepadInstanceID
+#endif
+
/* undefine these macros too: */
/* redefine using SDL3_xxx, if needed. */