aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-07 03:24:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-07 03:24:08 +0000
commitb019719301b068bfc5fdfdbcba4559f0fc6b966c (patch)
tree8183de0474cdb8ccc1aa3854c3a400490cf03dc0 /internal.h
parent320a9e4ce68564fbfe0bc0c385ce76f03921a64a (diff)
downloadruby-b019719301b068bfc5fdfdbcba4559f0fc6b966c.tar.gz
ruby.h: unnormalized Fixnum value
* include/ruby/ruby.h (ST2FIX): fix unnormalized Fixnum value bug on mingw/mswin. [ruby-core:82687] [Bug #13877] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal.h b/internal.h
index 5f85909461..2994c6e742 100644
--- a/internal.h
+++ b/internal.h
@@ -372,8 +372,6 @@ ntz_intptr(uintptr_t x)
VALUE rb_int128t2big(int128_t n);
#endif
-#define ST2FIX(h) LONG2FIX((long)(h))
-
static inline long
rb_overflowed_fix_to_int(long x)
{