Mercurial > sdl-ios-xcode
diff src/libm/math.h @ 4873:67ad1c88dda0
Added atan implementation from uClibc
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 29 Aug 2010 16:51:48 -0700 |
parents | d275c95ddc05 |
children | b530ef003506 |
line wrap: on
line diff
--- a/src/libm/math.h Sun Aug 29 16:28:04 2010 -0700 +++ b/src/libm/math.h Sun Aug 29 16:51:48 2010 -0700 @@ -24,6 +24,12 @@ /* Math routines from uClibc: http://www.uclibc.org */ +#ifdef HAVE_ATAN +#define atan SDL_uclibc_atan +#else +#define atan SDL_atan +#endif + #ifndef HAVE_ATAN2 #define __ieee754_atan2 SDL_atan2 #endif