aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-20 12:18:28 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-20 12:18:28 +0000
commit60f4d3178da450b28dcba4c6f748c69f2c310fe2 (patch)
treedde47e53b27b791bbfdb2211d5d7374fc14e8c96 /internal.h
parent0830011facad83ce7c39a0f9c6f66f65eeee0d63 (diff)
downloadruby-60f4d3178da450b28dcba4c6f748c69f2c310fe2.tar.gz
* internal.h (rb_int128t2big): declare only when HAVE_INT128_T.
fixed a compile error with VC++ introduced at r54203. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal.h b/internal.h
index f28d050b12..c30cc6ffed 100644
--- a/internal.h
+++ b/internal.h
@@ -272,9 +272,8 @@ nlz_int128(uint128_t x)
#elif defined(HAVE_INT128_T)
# define DLONG int128_t
# define DL2NUM(x) (RB_FIXABLE(x) ? LONG2FIX(x) : rb_int128t2big(x))
-#endif
-
VALUE rb_int128t2big(int128_t n);
+#endif
/* arguments must be Fixnum */
static inline VALUE