src/dynapi/SDL_dynapi.h
changeset 10197 623c40e8fd65
parent 10066 15b261fad7b9
equal deleted inserted replaced
10196:6c8f3b478b45 10197:623c40e8fd65
    41 
    41 
    42 #ifdef __APPLE__
    42 #ifdef __APPLE__
    43 #include "TargetConditionals.h"
    43 #include "TargetConditionals.h"
    44 #endif
    44 #endif
    45 
    45 
    46 #if TARGET_OS_IPHONE || __native_client__ || __EMSCRIPTEN__  /* probably not useful on iOS, NACL or Emscripten. */
    46 #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE  /* probably not useful on iOS. */
    47 #define SDL_DYNAMIC_API 0
    47 #define SDL_DYNAMIC_API 0
    48 #elif SDL_BUILDING_WINRT /* probaly not useful on WinRT, given current .dll loading restrictions */
    48 #elif defined(__native_client__) && __native_client__  /* probably not useful on NACL. */
    49 #define SDL_DYNAMIC_API 0
    49 #define SDL_DYNAMIC_API 0
    50 #elif __PSP__
    50 #elif defined(__EMSCRIPTEN__) && __EMSCRIPTEN__  /* probably not useful on Emscripten. */
       
    51 #define SDL_DYNAMIC_API 0
       
    52 #elif defined(SDL_BUILDING_WINRT) && SDL_BUILDING_WINRT  /* probably not useful on WinRT, given current .dll loading restrictions */
       
    53 #define SDL_DYNAMIC_API 0
       
    54 #elif defined(__PSP__) && __PSP__
    51 #define SDL_DYNAMIC_API 0
    55 #define SDL_DYNAMIC_API 0
    52 #elif defined(__clang_analyzer__)
    56 #elif defined(__clang_analyzer__)
    53 #define SDL_DYNAMIC_API 0  /* Turn off for static analysis, so reports are more clear. */
    57 #define SDL_DYNAMIC_API 0  /* Turn off for static analysis, so reports are more clear. */
    54 #endif
    58 #endif
    55 
    59