diff --git a/src/stdlib/SDL_stdlib.c b/src/stdlib/SDL_stdlib.c index c4059f637..56eb5da4f 100755 --- a/src/stdlib/SDL_stdlib.c +++ b/src/stdlib/SDL_stdlib.c @@ -34,8 +34,8 @@ __declspec(selectany) int _fltused = 1; #endif -/* The optimizer on Visual Studio 2010 generates memcpy() calls */ -#if _MSC_VER == 1600 && defined(_WIN64) && !defined(_DEBUG) +/* The optimizer on Visual Studio 2010/2012 generates memcpy() calls */ +#if _MSC_VER >= 1600 && defined(_WIN64) && !defined(_DEBUG) #include #pragma function(memcpy)