aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 1121b631..6d5454f5 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1214,6 +1214,8 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *jvm, void* UNUSED(reserved))
return JNI_VERSION_1_4;
}
+/* Android doesn't have log2f, really? */
+#define log2f(x) (logf(x) / logf(2.0f))
#endif