Disable SDL_DYNAMIC_API when using ReSharper

This commit is contained in:
Susko3 authored and Frank Praznik committed 2025-06-29 12:37:56 -04:00
1 parent 4217d62fa2
commit 923813b399
1 file changed
+1 -1
+1 -1
View File
@@ -57,7 +57,7 @@
#define SDL_DYNAMIC_API 0
#elif defined(SDL_PLATFORM_RISCOS) // probably not useful on RISC OS, since dlopen() can't be used when using static linking.
#define SDL_DYNAMIC_API 0
#elif defined(__clang_analyzer__) || defined(__INTELLISENSE__) || defined(SDL_THREAD_SAFETY_ANALYSIS)
#elif defined(__clang_analyzer__) || defined(__INTELLISENSE__) || defined(SDL_THREAD_SAFETY_ANALYSIS) || defined(__RESHARPER__)
#define SDL_DYNAMIC_API 0 // Turn off for static analysis, so reports are more clear.
#elif defined(SDL_PLATFORM_VITA)
#define SDL_DYNAMIC_API 0 // vitasdk doesn't support dynamic linking