src/stdlib/SDL_stdlib.c
changeset 3253 5d7ef5970073
parent 2859 99210400e8b9
child 3255 f8a4214ce90a
--- a/src/stdlib/SDL_stdlib.c	Sat Sep 05 21:31:50 2009 +0000
+++ b/src/stdlib/SDL_stdlib.c	Sat Sep 05 23:37:35 2009 +0000
@@ -28,7 +28,7 @@
 #ifndef HAVE_LIBC
 /* These are some C runtime intrinsics that need to be defined */
 
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && !defined(_WIN64)
 
 #ifndef __FLTUSED__
 #define __FLTUSED__
@@ -40,7 +40,9 @@
 #endif
 
 /* Float to long */
-     void __declspec(naked) _ftol()
+void
+__declspec(naked)
+_ftol()
 {
     /* *INDENT-OFF* */
     __asm {