diff options
| author | Julien Ammous <[email protected]> | 2013-09-23 15:14:19 +0200 |
|---|---|---|
| committer | Julien Ammous <[email protected]> | 2013-09-23 15:14:19 +0200 |
| commit | 19f543096754cdece107336d20c573c62ec3f7e2 (patch) | |
| tree | 2719d057921fdf29fc4385b99080c0ecf2899913 /mrbgems/mruby-math | |
| parent | eeac4be4ce06542361c61a42a1d413a4098467b5 (diff) | |
| download | mruby-19f543096754cdece107336d20c573c62ec3f7e2.tar.gz mruby-19f543096754cdece107336d20c573c62ec3f7e2.zip | |
support freebsd versions without log2 function
Diffstat (limited to 'mrbgems/mruby-math')
| -rw-r--r-- | mrbgems/mruby-math/src/math.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-math/src/math.c b/mrbgems/mruby-math/src/math.c index 4960de6dd..3daece9bc 100644 --- a/mrbgems/mruby-math/src/math.c +++ b/mrbgems/mruby-math/src/math.c @@ -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) |
