diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-26 06:23:34 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-26 06:23:34 +0000 |
commit | c179584ba4949a6f569e2c0734a6f01dbdae3f60 (patch) | |
tree | 96b063d6df2cc6e0690fac33ef705ee6ac83a34f /include | |
parent | 931574010102b4bd9db6cfb17b840e28b26030e6 (diff) | |
download | ruby-c179584ba4949a6f569e2c0734a6f01dbdae3f60.tar.gz |
* include/ruby/ruby.h: IL32LLP64 support.
* bignum.c (bigfixize, rb_cstr_to_inum): ditto.
* insns.def (opt_plus, opt_minus, opt_mult): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/ruby.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 69aadf14c4..e1cc7b803e 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -151,13 +151,8 @@ typedef unsigned LONG_LONG ID; # endif #endif -#ifdef LONG_LONG_VALUE -# define FIXNUM_MAX (LLONG_MAX>>1) -# define FIXNUM_MIN RSHIFT((LONG_LONG)LLONG_MIN,1) -#else -# define FIXNUM_MAX (LONG_MAX>>1) -# define FIXNUM_MIN RSHIFT((long)LONG_MIN,1) -#endif +#define FIXNUM_MAX (LONG_MAX>>1) +#define FIXNUM_MIN RSHIFT((long)LONG_MIN,1) #define FIXNUM_FLAG 0x01 #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG)) |