diff src/libm/math.h @ 4870:d275c95ddc05

Added atan2 implementation from uClibc
author Sam Lantinga <slouken@libsdl.org>
date Sun, 29 Aug 2010 16:05:34 -0700
parents f7b03b6838cb
children 67ad1c88dda0
line wrap: on
line diff
--- a/src/libm/math.h	Sun Aug 29 15:26:12 2010 -0700
+++ b/src/libm/math.h	Sun Aug 29 16:05:34 2010 -0700
@@ -24,6 +24,10 @@
 
 /* Math routines from uClibc: http://www.uclibc.org */
 
+#ifndef HAVE_ATAN2
+#define __ieee754_atan2 SDL_atan2
+#endif
+
 #ifdef HAVE_COPYSIGN
 #define copysign        SDL_uclibc_copysign
 #else