mirror of
https://github.com/yawut/SDL.git
synced 2026-07-02 00:13:39 -05:00
We might actually have PI
This commit is contained in:
parent
5b49519cfa
commit
017bece619
|
|
@ -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…
Reference in New Issue
Block a user