[前][次][番号順一覧][スレッド一覧]

ruby-changes:42131

From: usa <ko1@a...>
Date: Sun, 20 Mar 2016 21:18:33 +0900 (JST)
Subject: [ruby-changes:42131] usa:r54205 (trunk): * internal.h (rb_int128t2big): declare only when HAVE_INT128_T.

usa	2016-03-20 21:18:28 +0900 (Sun, 20 Mar 2016)

  New Revision: 54205

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54205

  Log:
    * internal.h (rb_int128t2big): declare only when HAVE_INT128_T.
      fixed a compile error with VC++ introduced at r54203.

  Modified files:
    trunk/ChangeLog
    trunk/internal.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54204)
+++ ChangeLog	(revision 54205)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Mar 20 21:17:13 2016  NAKAMURA Usaku  <usa@r...>
+
+	* internal.h (rb_int128t2big): declare only when HAVE_INT128_T.
+	  fixed a compile error with VC++ introduced at r54203.
+
 Sun Mar 20 20:10:14 2016  NARUSE, Yui  <naruse@r...>
 
 	* internal.h (DLONG): defined if long is 32bit (and LONG_LONG is 64bit;
Index: internal.h
===================================================================
--- internal.h	(revision 54204)
+++ internal.h	(revision 54205)
@@ -272,9 +272,8 @@ nlz_int128(uint128_t x) https://github.com/ruby/ruby/blob/trunk/internal.h#L272
 #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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]