Make it possible to build a DLL with mingw that's ABI compatible with Visual C++ built applications
This commit is contained in:
parent
f9ee105b99
commit
423c05313b
4 changed files with 10 additions and 1 deletions
|
@ -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; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue