From a48004952dba90f4d073a43217de5d1b0f44778c Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 17 May 2022 01:33:20 +0300 Subject: [PATCH] disable dynapi for os/2, at least for now. (see bugs #5667 and #5669.) --- src/dynapi/SDL_dynapi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dynapi/SDL_dynapi.h b/src/dynapi/SDL_dynapi.h index e37444fd9..dddc094c1 100644 --- a/src/dynapi/SDL_dynapi.h +++ b/src/dynapi/SDL_dynapi.h @@ -61,6 +61,8 @@ #define SDL_DYNAMIC_API 0 /* vitasdk doesn't support dynamic linking */ #elif defined(__NGAGE__) #define SDL_DYNAMIC_API 0 /* The N-Gage doesn't support dynamic linking either */ +#elif defined(__OS2__) +#define SDL_DYNAMIC_API 0 /* see github bugs #5667 and #5669 */ #elif defined(DYNAPI_NEEDS_DLOPEN) && !defined(HAVE_DLOPEN) #define SDL_DYNAMIC_API 0 /* we need dlopen(), but don't have it.... */ #endif