diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-12-23 22:18:07 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-12-23 22:18:07 +0900 |
| commit | 2fbea74de5bdda32cdc99f8336fc3296e2c3b933 (patch) | |
| tree | ec681815d3f3cdbe5646cb711021b44bddbbd7e6 /mrbgems/mruby-math | |
| parent | f6c07b883550b4e78e0922eec08458307d623b8c (diff) | |
| parent | 0bfeefad2ab4094ce0ff2cf38a17c8a256e121d6 (diff) | |
| download | mruby-2fbea74de5bdda32cdc99f8336fc3296e2c3b933.tar.gz mruby-2fbea74de5bdda32cdc99f8336fc3296e2c3b933.zip | |
Merge pull request #4198 from dearblue/missing-macros
Suppress missing macro warns
Diffstat (limited to 'mrbgems/mruby-math')
| -rw-r--r-- | mrbgems/mruby-math/src/math.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mrbgems/mruby-math/src/math.c b/mrbgems/mruby-math/src/math.c index c182debea..c29ba6808 100644 --- a/mrbgems/mruby-math/src/math.c +++ b/mrbgems/mruby-math/src/math.c @@ -161,6 +161,10 @@ erfc(double x) #endif +#if defined __FreeBSD__ && !defined __FreeBSD_version +#include <osreldate.h> /* for __FreeBSD_version */ +#endif + #if (defined _MSC_VER && _MSC_VER < 1800) || defined __ANDROID__ || (defined __FreeBSD__ && __FreeBSD_version < 803000) double |
