diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | bignum.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sat Apr 30 18:11:44 2016 Tanaka Akira <akr@fsij.org> + + * bignum.c (Init_Bignum): Define Integer#GMP_VERSION. + Sat Apr 30 16:58:18 2016 Tanaka Akira <akr@fsij.org> * numeric.c (int_remainder): Define Integer#remainder. @@ -6890,6 +6890,7 @@ Init_Bignum(void) #ifdef USE_GMP /* The version of loaded GMP. */ rb_define_const(rb_cBignum, "GMP_VERSION", rb_sprintf("GMP %s", gmp_version)); + rb_define_const(rb_cInteger, "GMP_VERSION", rb_sprintf("GMP %s", gmp_version)); #endif power_cache_init(); |