diff options
author | Chris Robinson <[email protected]> | 2017-10-07 14:39:41 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-10-07 14:39:41 -0700 |
commit | 71ce90d083af6d654cba5d5b394f04fdade9ba1c (patch) | |
tree | 71a27768278236180aa934c86d61c09e12160cf1 /native-tools | |
parent | 296abf03deb091c3371b1ca3370d6aed13356352 (diff) |
Don't hide the log2 macro behind an Android-only macro
Diffstat (limited to 'native-tools')
-rw-r--r-- | native-tools/bsincgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native-tools/bsincgen.c b/native-tools/bsincgen.c index e502cdd0..2a7e4326 100644 --- a/native-tools/bsincgen.c +++ b/native-tools/bsincgen.c @@ -46,7 +46,7 @@ #define M_PI (3.14159265358979323846)
#endif
-#if defined(__ANDROID__) && !(defined(_ISOC99_SOURCE) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L))
+#if !(defined(_ISOC99_SOURCE) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L))
#define log2(x) (log(x) / log(2.0))
#endif
|