src/stdlib/SDL_stdlib.c
changeset 3253 5d7ef5970073
parent 2859 99210400e8b9
child 3255 f8a4214ce90a
     1.1 --- a/src/stdlib/SDL_stdlib.c	Sat Sep 05 21:31:50 2009 +0000
     1.2 +++ b/src/stdlib/SDL_stdlib.c	Sat Sep 05 23:37:35 2009 +0000
     1.3 @@ -28,7 +28,7 @@
     1.4  #ifndef HAVE_LIBC
     1.5  /* These are some C runtime intrinsics that need to be defined */
     1.6  
     1.7 -#if defined(_MSC_VER)
     1.8 +#if defined(_MSC_VER) && !defined(_WIN64)
     1.9  
    1.10  #ifndef __FLTUSED__
    1.11  #define __FLTUSED__
    1.12 @@ -40,7 +40,9 @@
    1.13  #endif
    1.14  
    1.15  /* Float to long */
    1.16 -     void __declspec(naked) _ftol()
    1.17 +void
    1.18 +__declspec(naked)
    1.19 +_ftol()
    1.20  {
    1.21      /* *INDENT-OFF* */
    1.22      __asm {