summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/SDL2/src/dynapi/SDL_dynapi.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-11-16 16:26:13 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-11-16 16:28:01 +0100
commit47a05778bff9388fc6c479461dd3804c79d7b539 (patch)
treebb3d4dc8df676b8aa478339b3fd0cd305dc4ac4d /3rdparty/SDL2/src/dynapi/SDL_dynapi.h
parente61b392edfbfe5b9d70908c087632da915a3abd8 (diff)
Updated SDL2 to 2.0.5 (nw)
Diffstat (limited to '3rdparty/SDL2/src/dynapi/SDL_dynapi.h')
-rw-r--r--3rdparty/SDL2/src/dynapi/SDL_dynapi.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/3rdparty/SDL2/src/dynapi/SDL_dynapi.h b/3rdparty/SDL2/src/dynapi/SDL_dynapi.h
index 5faac2194e7..5e78338f228 100644
--- a/3rdparty/SDL2/src/dynapi/SDL_dynapi.h
+++ b/3rdparty/SDL2/src/dynapi/SDL_dynapi.h
@@ -43,9 +43,15 @@
#include "TargetConditionals.h"
#endif
-#if TARGET_OS_IPHONE || __native_client__ || __EMSCRIPTEN__ /* probably not useful on iOS, NACL or Emscripten. */
+#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE /* probably not useful on iOS. */
#define SDL_DYNAMIC_API 0
-#elif SDL_BUILDING_WINRT /* probaly not useful on WinRT, given current .dll loading restrictions */
+#elif defined(__native_client__) && __native_client__ /* probably not useful on NACL. */
+#define SDL_DYNAMIC_API 0
+#elif defined(__EMSCRIPTEN__) && __EMSCRIPTEN__ /* probably not useful on Emscripten. */
+#define SDL_DYNAMIC_API 0
+#elif defined(SDL_BUILDING_WINRT) && SDL_BUILDING_WINRT /* probably not useful on WinRT, given current .dll loading restrictions */
+#define SDL_DYNAMIC_API 0
+#elif defined(__PSP__) && __PSP__
#define SDL_DYNAMIC_API 0
#elif defined(__clang_analyzer__)
#define SDL_DYNAMIC_API 0 /* Turn off for static analysis, so reports are more clear. */