Browse Source

SDL_dynapi.h: disable dynapi for os/2.

Sam Lantinga 7 years ago
parent
commit
f6ad070b82
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/dynapi/SDL_dynapi.h

+ 2 - 0
src/dynapi/SDL_dynapi.h

@@ -55,6 +55,8 @@
 #define SDL_DYNAMIC_API 0
 #elif defined(__clang_analyzer__)
 #define SDL_DYNAMIC_API 0  /* Turn off for static analysis, so reports are more clear. */
+#elif defined(__OS2__)
+#define SDL_DYNAMIC_API 0
 #endif
 
 /* everyone else. This is where we turn on the API if nothing forced it off. */