aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-06-29 10:11:31 -0700
committerChris Robinson <[email protected]>2017-06-29 10:11:31 -0700
commita69d608a1ec38e6afd903224e86c0bf29b8d0623 (patch)
tree449efe96be44689d54c0b1fb228bb181cbbac9c5 /Alc/ALc.c
parentaefa11b6adf3bdd0e82d2c2f125d2bd62288e246 (diff)
Define a backup log2f if the compiler doesn't have it
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 6d5454f5..8983025a 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1213,9 +1213,6 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *jvm, void* UNUSED(reserved))
pthread_setspecific(gJVMThreadKey, env);
return JNI_VERSION_1_4;
}
-
-/* Android doesn't have log2f, really? */
-#define log2f(x) (logf(x) / logf(2.0f))
#endif