diff --git a/libs/SDL2/src/stdlib/SDL_string.c b/libs/SDL2/src/stdlib/SDL_string.c index c1a4981b..b9a6274c 100644 --- a/libs/SDL2/src/stdlib/SDL_string.c +++ b/libs/SDL2/src/stdlib/SDL_string.c @@ -262,6 +262,9 @@ SDL_ScanFloat(const char *text, double *valuep) } #endif +#if defined(_MSC_VER) && !defined(HAVE_MEMSET) +__declspec(noinline) +#endif void * SDL_memset(SDL_OUT_BYTECAP(len) void *dst, int c, size_t len) {