comparison include/SDL_stdinc.h @ 3032:77c3e67f0740

Fixed Visual C++ build
author Sam Lantinga <slouken@libsdl.org>
date Mon, 12 Jan 2009 08:46:28 +0000
parents 7e30c2dc7783
children bcd41b269091
comparison
equal deleted inserted replaced
3031:86918831452f 3032:77c3e67f0740
644 644
645 #ifndef HAVE_M_PI 645 #ifndef HAVE_M_PI
646 #define M_PI 3.14159265358979323846264338327950288 /* pi */ 646 #define M_PI 3.14159265358979323846264338327950288 /* pi */
647 #endif 647 #endif
648 648
649 #ifdef HAVE_CEIL
650 #define SDL_ceil ceil
651 #else
652 #define SDL_ceil(x) ((double)(int)((x)+0.5))
653 #endif
654
649 #ifdef HAVE_COPYSIGN 655 #ifdef HAVE_COPYSIGN
650 #define SDL_copysign copysign 656 #define SDL_copysign copysign
651 #else 657 #else
652 extern DECLSPEC double SDLCALL SDL_copysign(double x, double y); 658 extern DECLSPEC double SDLCALL SDL_copysign(double x, double y);
653 #endif 659 #endif