From cd1ea99f0e77a8e9404f2d51d6810345a8a28c41 Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Sat, 11 Feb 2012 22:41:16 +0100 Subject: MT32: Replace OS X specific exp2f call with exp2. Suggested by clone2727 to fix the build, since buildbot's ppc headers don't have exp2f. --- audio/softsynth/mt32/mmath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/softsynth/mt32/mmath.h b/audio/softsynth/mt32/mmath.h index 60f492f9f0..226d73e27e 100644 --- a/audio/softsynth/mt32/mmath.h +++ b/audio/softsynth/mt32/mmath.h @@ -46,7 +46,7 @@ static inline float EXPF(float x) { static inline float EXP2F(float x) { #ifdef __APPLE__ // on OSX exp2f() is 1.59 times faster than "exp() and the multiplication with FLOAT_LN_2" - return exp2f(x); + return exp2(x); #else return exp(FLOAT_LN_2 * x); #endif -- cgit v1.2.3