summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-05 16:23:39 (GMT)
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-05 16:23:39 (GMT)
commitbb7a4c2a00f6da4ff63f24b2db2a0aa0c44eb63f (patch)
treeb03836fbccf09b56e7d47cdb1955894f9caba563 /math.c
parent542d3a071f0cf5fd7488edcb11ab0472990e9bbf (diff)
* 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
Diffstat (limited to 'math.c')
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index 9e97f3a..23c6210 100644
--- a/math.c
+++ b/math.c
@@ -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)
{