Mercurial > sdl-ios-xcode
diff src/stdlib/SDL_stdlib.c @ 3253:5d7ef5970073
Fixed issues building 64-bit Windows binary
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 05 Sep 2009 23:37:35 +0000 |
parents | 99210400e8b9 |
children | f8a4214ce90a |
line wrap: on
line diff
--- 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 {