src/stdlib/SDL_stdlib.c
changeset 1433 bb6839704ed6
parent 1402 d910939febfa
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
1432:0801c9fdbdd6 1433:bb6839704ed6
    27 
    27 
    28 #ifndef HAVE_LIBC
    28 #ifndef HAVE_LIBC
    29 /* These are some C runtime intrinsics that need to be defined */
    29 /* These are some C runtime intrinsics that need to be defined */
    30 
    30 
    31 #if defined(_MSC_VER)
    31 #if defined(_MSC_VER)
       
    32 
       
    33 #ifndef __FLTUSED__
       
    34 #define __FLTUSED__
       
    35 #ifdef __cplusplus
       
    36    extern "C"
       
    37 #endif
       
    38 	   __declspec(selectany) int _fltused=1;
       
    39 #endif
    32 
    40 
    33 /* Float to long */
    41 /* Float to long */
    34 void __declspec(naked) _ftol()
    42 void __declspec(naked) _ftol()
    35 {
    43 {
    36 	__asm {
    44 	__asm {