Mercurial > sdl-ios-xcode
diff src/stdlib/SDL_stdlib.c @ 3255:f8a4214ce90a
Fixed compiling on 64-bit Windows
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 06 Sep 2009 04:40:54 +0000 |
parents | 5d7ef5970073 |
children | f7b03b6838cb |
line wrap: on
line diff
--- a/src/stdlib/SDL_stdlib.c Sun Sep 06 04:40:29 2009 +0000 +++ b/src/stdlib/SDL_stdlib.c Sun Sep 06 04:40:54 2009 +0000 @@ -28,16 +28,16 @@ #ifndef HAVE_LIBC /* These are some C runtime intrinsics that need to be defined */ -#if defined(_MSC_VER) && !defined(_WIN64) +#if defined(_MSC_VER) #ifndef __FLTUSED__ #define __FLTUSED__ -#ifdef __cplusplus -extern "C" +__declspec(selectany) int _fltused = 1; #endif -__declspec(selectany) - int _fltused = 1; -#endif + +#ifdef _WIN64 + +#else /* Float to long */ void @@ -693,6 +693,8 @@ /* *INDENT-ON* */ } +#endif /* _WIN64 */ + #endif /* MSC_VER */ #endif /* !HAVE_LIBC */