diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-10-30 01:24:23 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-10-30 01:24:23 -0700 |
| commit | 73f6d7080ea6d582c046657a64374c8422b34b32 (patch) | |
| tree | ed610676ccbd5c7d54dddc3eaa0ddf801ab91e44 | |
| parent | 888ddf1c84faae2e4e5376036bbda2753d7b01a1 (diff) | |
| parent | 19f543096754cdece107336d20c573c62ec3f7e2 (diff) | |
| download | mruby-73f6d7080ea6d582c046657a64374c8422b34b32.tar.gz mruby-73f6d7080ea6d582c046657a64374c8422b34b32.zip | |
Merge pull request #1510 from schmurfy/freebsd_fix
fixed compilation on freebsd releases witout log2 function
| -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) |
