Browse Source

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

Ozkan Sezer 3 năm trước cách đây
mục cha
commit
a48004952d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 */
 #define SDL_DYNAMIC_API 0  /* vitasdk doesn't support dynamic linking */
 #elif defined(__NGAGE__)
 #elif defined(__NGAGE__)
 #define SDL_DYNAMIC_API 0  /* The N-Gage doesn't support dynamic linking either */
 #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)
 #elif defined(DYNAPI_NEEDS_DLOPEN) && !defined(HAVE_DLOPEN)
 #define SDL_DYNAMIC_API 0  /* we need dlopen(), but don't have it.... */
 #define SDL_DYNAMIC_API 0  /* we need dlopen(), but don't have it.... */
 #endif
 #endif