We might actually have PI

This commit is contained in:
Sam Lantinga 2012-11-01 00:12:57 -07:00
parent 2cc01af9ba
commit 9549fda7e0

View File

@ -633,8 +633,10 @@ extern DECLSPEC int SDLCALL SDL_vsnprintf(char *text, size_t maxlen,
#endif
#ifndef HAVE_M_PI
#ifndef M_PI
#define M_PI 3.14159265358979323846264338327950288 /* pi */
#endif
#endif
#ifdef HAVE_ATAN
#define SDL_atan atan