diff options
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 54e5d3bc78..de435ac16b 100644 --- a/internal.h +++ b/internal.h @@ -323,6 +323,9 @@ ntz_intptr(uintptr_t x) { VALUE rb_int128t2big(int128_t n); #endif +#define ST2FIX(h) LONG2FIX((long)(h)) + + /* arguments must be Fixnum */ static inline VALUE rb_fix_mul_fix(VALUE x, VALUE y) |