SDL: disable dynapi for os/2, at least for now. (see bugs #5667 and #5669.) (f8e14)

From f8e14ad25aa6f0b4bbed411583a9863c855ad9e6 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 17 May 2022 01:35:24 +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 452078b1a2a..1a4fe850a7e 100644
--- a/src/dynapi/SDL_dynapi.h
+++ b/src/dynapi/SDL_dynapi.h
@@ -59,6 +59,8 @@
 #define SDL_DYNAMIC_API 0  /* Turn off for static analysis, so reports are more clear. */
 #elif defined(__VITA__)
 #define SDL_DYNAMIC_API 0  /* vitasdk doesn't support dynamic linking */
+#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