Browse Source

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

Ozkan Sezer 2 years ago
parent
commit
a48004952d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/dynapi/SDL_dynapi.h

+ 2 - 0
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