We might actually have PI
This commit is contained in:
parent
2cc01af9ba
commit
9549fda7e0
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue