Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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.
  • Loading branch information
slouken committed Jul 11, 2012
1 parent fe844af commit 7f709941e4d191c3db4c460725d6f361077385b4
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 <intrin.h>

#pragma function(memcpy)

0 comments on commit 7f70994

Please sign in to comment.