diff options
author | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-08 23:07:43 +0000 |
---|---|---|
committer | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-08 23:07:43 +0000 |
commit | 599dbf65a57ad7ce37a3dd23d3513ef2699eb9b2 (patch) | |
tree | 4f27672dfb36cf0d0a6356f5fdbaeb9d66dfa49d /internal.h | |
parent | 68e2146738689540886702129ad30f3f8af59a37 (diff) | |
download | bundler-599dbf65a57ad7ce37a3dd23d3513ef2699eb9b2.tar.gz |
vm.c: fix compile issue on 32bit freebsd
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 2b8176c28b..f21c1c40b5 100644 --- a/internal.h +++ b/internal.h @@ -252,10 +252,13 @@ struct rb_subclass_entry { #if defined(HAVE_LONG_LONG) typedef unsigned LONG_LONG rb_serial_t; +#define SERIALT2NUM ULL2NUM #elif defined(HAVE_UINT64_T) typedef uint64_t rb_serial_t; +#define SERIALT2NUM SIZET2NUM #else typedef unsigned long rb_serial_t; +#define SERIALT2NUM ULONG2NUM #endif struct rb_classext_struct { |