* math.c (ruby_lgamma_r): mswin's lgamma_r also seems to be wrong.

cf. [Bug #12249]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2016-04-05 16:23:39 +00:00
parent 542d3a071f
commit bb7a4c2a00
2 changed files with 6 additions and 1 deletions

2
math.c
View file

@ -750,7 +750,7 @@ ruby_tgamma(const double d)
#define tgamma(d) ruby_tgamma(d)
#endif
#if defined __MINGW32__ || defined __APPLE__
#if defined _WIN32 || defined __APPLE__
static inline double
ruby_lgamma_r(const double d, int *sign)
{