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

This commit is contained in:
Ozkan Sezer 2022-05-17 01:35:24 +03:00
parent 0c05ddd9ff
commit f8e14ad25a
1 changed files with 2 additions and 0 deletions

View File

@ -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