12 lines
390 B
Diff
12 lines
390 B
Diff
|
--- ./alsamixer/volume_mapping.c 2016-08-02 22:39:45.000000000 +0530
|
||
|
+++ ../volume_mapping.c 2016-12-03 23:15:26.390744307 +0530
|
||
|
@@ -37,7 +37,7 @@
|
||
|
#include <stdbool.h>
|
||
|
#include "volume_mapping.h"
|
||
|
|
||
|
-#ifdef __UCLIBC__
|
||
|
+#if defined(__UCLIBC__) || defined(__ANDROID__)
|
||
|
/* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */
|
||
|
#define exp10(x) (exp((x) * log(10)))
|
||
|
#endif /* __UCLIBC__ */
|