From d98cfe1435774d1003f2d6b4c169d56558c32569 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 7 Jun 2015 20:00:20 -0400 Subject: [PATCH] Let's assume that if VS2005 and VS2010 do it, VS2008 probably does, too. --- src/stdlib/SDL_stdlib.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/stdlib/SDL_stdlib.c b/src/stdlib/SDL_stdlib.c index 24b2b2706668b..a488af2669bca 100644 --- a/src/stdlib/SDL_stdlib.c +++ b/src/stdlib/SDL_stdlib.c @@ -278,9 +278,8 @@ int SDL_tolower(int x) { return ((x) >= 'A') && ((x) <= 'Z') ? ('a'+((x)-'A')) : __declspec(selectany) int _fltused = 1; #endif -/* The optimizer on Visual Studio 2010/2012 generates memcpy() calls */ -/* Visual Studio 2005 does it too, and it also generates memset() calls */ -#if (_MSC_VER == 1400 || _MSC_VER >= 1600) && defined(_WIN64) && !defined(_DEBUG) +/* The optimizer on Visual Studio 2005 and later generates memcpy() calls */ +#if (_MSC_VER >= 1400) && defined(_WIN64) && !defined(_DEBUG) #include #pragma function(memcpy)