mirror of
https://github.com/yawut/SDL.git
synced 2026-08-25 02:05:07 -05:00
Added atan implementation from uClibc
This commit is contained in:
@@ -694,6 +694,12 @@ extern DECLSPEC int SDLCALL SDL_vsnprintf(char *text, size_t maxlen,
|
||||
#define M_PI 3.14159265358979323846264338327950288 /* pi */
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ATAN
|
||||
#define SDL_atan atan
|
||||
#else
|
||||
extern DECLSPEC double SDLCALL SDL_atan(double x);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ATAN2
|
||||
#define SDL_atan2 atan2
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user