From a69d608a1ec38e6afd903224e86c0bf29b8d0623 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 29 Jun 2017 10:11:31 -0700 Subject: Define a backup log2f if the compiler doesn't have it --- Alc/ALc.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'Alc/ALc.c') 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 -- cgit v1.2.3