Mercurial > sdl-ios-xcode
diff src/stdlib/SDL_stdlib.c @ 1433:bb6839704ed6
SDL_windows.h is no longer necessary
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 25 Feb 2006 22:18:25 +0000 |
parents | d910939febfa |
children | 782fd950bd46 c121d94672cb a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/stdlib/SDL_stdlib.c Sat Feb 25 20:48:26 2006 +0000 +++ b/src/stdlib/SDL_stdlib.c Sat Feb 25 22:18:25 2006 +0000 @@ -30,6 +30,14 @@ #if defined(_MSC_VER) +#ifndef __FLTUSED__ +#define __FLTUSED__ +#ifdef __cplusplus + extern "C" +#endif + __declspec(selectany) int _fltused=1; +#endif + /* Float to long */ void __declspec(naked) _ftol() {