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

ruby-changes:30748

From: nobu <ko1@a...>
Date: Wed, 4 Sep 2013 19:18:57 +0900 (JST)
Subject: [ruby-changes:30748] nobu:r42827 (trunk): internal.h: LONG_LONG vm_state_version_t

nobu	2013-09-04 19:18:47 +0900 (Wed, 04 Sep 2013)

  New Revision: 42827

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42827

  Log:
    internal.h: LONG_LONG vm_state_version_t
    
    * internal.h (vm_state_version_t): prefer LONG_LONG to uint64_t.

  Modified files:
    trunk/ChangeLog
    trunk/internal.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42826)
+++ ChangeLog	(revision 42827)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Sep  4 19:18:40 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* internal.h (vm_state_version_t): prefer LONG_LONG to uint64_t.
+
 Wed Sep  4 16:28:14 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* internal.h (vm_state_version_t): use uint64_t when it is larger than
Index: internal.h
===================================================================
--- internal.h	(revision 42826)
+++ internal.h	(revision 42827)
@@ -244,10 +244,10 @@ struct rb_subclass_entry { https://github.com/ruby/ruby/blob/trunk/internal.h#L244
     rb_subclass_entry_t *next;
 };
 
-#if defined(HAVE_UINT64_T) && (!defined(HAVE_LONG_LONG) || SIZEOF_UINT64_T > SIZEOF_LONG_LONG)
-typedef uint64_t vm_state_version_t;
-#elif defined(HAVE_LONG_LONG)
+#if defined(HAVE_LONG_LONG)
 typedef unsigned LONG_LONG vm_state_version_t;
+#elif defined(HAVE_UINT64_T)
+typedef uint64_t vm_state_version_t;
 #else
 typedef unsigned long vm_state_version_t;
 #endif

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

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