mirror of
https://github.com/yawut/SDL.git
synced 2026-08-23 09:15:18 -05:00
Fixed bug 1540: SDL 2.0 won't link on Visual Studio 2012 RC for x64
Thanks to Marek Pokorny for tracking this down and providing a fix.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user