summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/ruby.h b/ruby.h
index 59c8528381b..b8a26350919 100644
--- a/ruby.h
+++ b/ruby.h
@@ -120,11 +120,6 @@ typedef unsigned int ID;
VALUE int2inum _((long));
#define INT2NUM(v) int2inum(v)
-#if (-1==(((-1)<<1)&FIXNUM_FLAG)>>1)
-# define RSHIFT(x,y) ((x)>>y)
-#else
-# define RSHIFT(x,y) (((x)<0) ? ~((~(x))>>y) : (x)>>y)
-#endif
#define FIX2LONG(x) RSHIFT((long)x,1)
#define FIX2ULONG(x) (((unsigned long)(x))>>1)
#define FIXNUM_P(f) (((long)(f))&FIXNUM_FLAG)