CVSROOT: /sources/gnash Module name: gnash Changes by: Markus Gothe <nihilus> 07/08/27 23:12:28
Modified files: . : ChangeLog libbase : tu_math.h Log message: OS X has xF() in math.h, good riddance. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4128&r2=1.4129 http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/tu_math.h?cvsroot=gnash&r1=1.19&r2=1.20 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4128 retrieving revision 1.4129 diff -u -b -r1.4128 -r1.4129 --- ChangeLog 27 Aug 2007 21:15:10 -0000 1.4128 +++ ChangeLog 27 Aug 2007 23:12:28 -0000 1.4129 @@ -92,6 +92,7 @@ 2007-08-27 Markus Gothe <[EMAIL PROTECTED]> * libbase/utility.h: defined exp2() as it's missing on some BSDen. + * libbase/math.h OS X has got xF(). * configure.ac check for exp2() and log2(). 2007-08-27 Zou Lunkai <[EMAIL PROTECTED]> Index: libbase/tu_math.h =================================================================== RCS file: /sources/gnash/gnash/libbase/tu_math.h,v retrieving revision 1.19 retrieving revision 1.20 diff -u -b -r1.19 -r1.20 --- libbase/tu_math.h 10 Feb 2007 18:22:46 -0000 1.19 +++ libbase/tu_math.h 27 Aug 2007 23:12:28 -0000 1.20 @@ -12,22 +12,6 @@ #include <cmath> #include <cfloat> -// OSX doesn't have single precision math functions defined in math.h -#ifdef __MACH__ - #define sinf sin - #define cosf cos - #define tanf tan - #define asinf asin - #define acosf acos - #define atanf atan - #define atan2f atan2 - #define sqrtf sqrt - #define logf log - #define expf exp - #define fabsf fabs - #define powf pow -#endif - // isfinite() comes with C99; fake version here in case compiler lacks it. #ifndef isfinite #define isfinite(x) (sizeof(x) == sizeof(float) ? isfinitef(x) : isfinited(x)) _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit