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. */