SDL: Fix link error when vs2019+x64 is used.

This commit is contained in:
Alex Szpakowski
2020-01-04 20:30:55 -04:00
parent 7af77ce90d
commit 7ed6273a1a
+3
View File
@@ -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)
{