aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Milburn2012-02-11 22:41:16 +0100
committerAlyssa Milburn2012-02-11 22:41:21 +0100
commitcd1ea99f0e77a8e9404f2d51d6810345a8a28c41 (patch)
treead2a17bff510107886289b8b854d86de0f5ad1d6
parent056fc6250cc04a38772870139a8208ffde425765 (diff)
downloadscummvm-rg350-cd1ea99f0e77a8e9404f2d51d6810345a8a28c41.tar.gz
scummvm-rg350-cd1ea99f0e77a8e9404f2d51d6810345a8a28c41.tar.bz2
scummvm-rg350-cd1ea99f0e77a8e9404f2d51d6810345a8a28c41.zip
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.
-rw-r--r--audio/softsynth/mt32/mmath.h2
1 files changed, 1 insertions, 1 deletions
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