mirror of
https://github.com/joel16/SDL2.git
synced 2025-04-12 03:26:37 +00:00
We might actually have PI
This commit is contained in:
parent
2cc01af9ba
commit
9549fda7e0
@ -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…
x
Reference in New Issue
Block a user