src/stdlib/SDL_stdlib.c
changeset 6355 3ef4d0e923cb
parent 6138 4c64952a58fb
child 6885 700f1b25f77f
equal deleted inserted replaced
6354:17840f487124 6355:3ef4d0e923cb
    32 #ifndef __FLTUSED__
    32 #ifndef __FLTUSED__
    33 #define __FLTUSED__
    33 #define __FLTUSED__
    34 __declspec(selectany) int _fltused = 1;
    34 __declspec(selectany) int _fltused = 1;
    35 #endif
    35 #endif
    36 
    36 
    37 /* The optimizer on Visual Studio 2010 generates memcpy() calls */
    37 /* The optimizer on Visual Studio 2010/2012 generates memcpy() calls */
    38 #if _MSC_VER == 1600 && defined(_WIN64) && !defined(_DEBUG)
    38 #if _MSC_VER >= 1600 && defined(_WIN64) && !defined(_DEBUG)
    39 #include <intrin.h>
    39 #include <intrin.h>
    40 
    40 
    41 #pragma function(memcpy)
    41 #pragma function(memcpy)
    42 void * memcpy ( void * destination, const void * source, size_t num )
    42 void * memcpy ( void * destination, const void * source, size_t num )
    43 {
    43 {