Make it possible to build a DLL with mingw that's ABI compatible with Visual C++ built applications

This commit is contained in:
Sam Lantinga 2012-10-20 00:14:58 -07:00
parent f9ee105b99
commit 423c05313b
4 changed files with 10 additions and 1 deletions

View file

@ -340,7 +340,7 @@ do { \
/* We can count on memcpy existing on Mac OS X and being well-tuned. */
#if defined(__MACOSX__)
#define SDL_memcpy memcpy
#elif defined(__GNUC__) && defined(i386)
#elif defined(__GNUC__) && defined(i386) && !defined(__WIN32__)
#define SDL_memcpy(dst, src, len) \
do { \
int u0, u1, u2; \