src/stdlib/SDL_stdlib.c
changeset 6355 3ef4d0e923cb
parent 6138 4c64952a58fb
child 6885 700f1b25f77f
--- a/src/stdlib/SDL_stdlib.c	Mon Jul 09 18:08:06 2012 -0300
+++ b/src/stdlib/SDL_stdlib.c	Wed Jul 11 08:51:16 2012 -0400
@@ -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 <intrin.h>
 
 #pragma function(memcpy)