Let's assume that if VS2005 and VS2010 do it, VS2008 probably does, too.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 07 Jun 2015 20:00:20 -0400
changeset 9716 f2804ed2a5a3
parent 9715 8945c203a54b
child 9717 45a632fd9d83
Let's assume that if VS2005 and VS2010 do it, VS2008 probably does, too.
src/stdlib/SDL_stdlib.c
--- a/src/stdlib/SDL_stdlib.c	Sun Jun 07 19:58:42 2015 -0400
+++ b/src/stdlib/SDL_stdlib.c	Sun Jun 07 20:00:20 2015 -0400
@@ -278,9 +278,8 @@
 __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 <intrin.h>
 
 #pragma function(memcpy)