mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
support freebsd versions without log2 function
This commit is contained in:
@@ -89,7 +89,7 @@ erfc(double x)
|
||||
|
||||
#endif
|
||||
|
||||
#if (defined _MSC_VER && _MSC_VER < 1800) || defined __ANDROID__
|
||||
#if (defined _MSC_VER && _MSC_VER < 1800) || defined __ANDROID__ || (defined __FreeBSD__ && __FreeBSD_version < 803000)
|
||||
|
||||
double
|
||||
log2(double x)
|
||||
|
||||
Reference in New Issue
Block a user