Commit | Line | Data |
---|---|---|
a680abcb AK |
1 | --- ./alsamixer/volume_mapping.c 2016-08-02 22:39:45.000000000 +0530 |
2 | +++ ../volume_mapping.c 2016-12-03 23:15:26.390744307 +0530 | |
3 | @@ -37,7 +37,7 @@ | |
4 | #include <stdbool.h> | |
5 | #include "volume_mapping.h" | |
6 | ||
7 | -#ifdef __UCLIBC__ | |
8 | +#if defined(__UCLIBC__) || defined(__ANDROID__) | |
9 | /* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */ | |
10 | #define exp10(x) (exp((x) * log(10))) | |
11 | #endif /* __UCLIBC__ */ |