mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
internal.h: LONG_LONG vm_state_version_t
* internal.h (vm_state_version_t): prefer LONG_LONG to uint64_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cb3c8119a7
commit
35f11f306d
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Sep 4 19:18:40 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* internal.h (vm_state_version_t): prefer LONG_LONG to uint64_t.
|
||||
|
||||
Wed Sep 4 16:28:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* internal.h (vm_state_version_t): use uint64_t when it is larger than
|
||||
|
|
|
@ -244,10 +244,10 @@ struct rb_subclass_entry {
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue