ruby-changes:2084
From: ko1@a...
Date: 30 Sep 2007 11:33:56 +0900
Subject: [ruby-changes:2084] akr - Ruby:r13575 (trunk): * numeric.c: use #ifdef for test LONG_LONG_VALUE.
akr 2007-09-30 11:33:18 +0900 (Sun, 30 Sep 2007) New Revision: 13575 Modified files: trunk/ChangeLog trunk/numeric.c Log: * numeric.c: use #ifdef for test LONG_LONG_VALUE. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/numeric.c?r1=13575&r2=13574 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13575&r2=13574 Index: ChangeLog =================================================================== --- ChangeLog (revision 13574) +++ ChangeLog (revision 13575) @@ -1,3 +1,7 @@ +Sun Sep 30 11:32:34 2007 Tanaka Akira <akr@f...> + + * numeric.c: use #ifdef for test LONG_LONG_VALUE. + Sun Sep 30 04:30:55 2007 Tanaka Akira <akr@f...> * bignum.c: use SIZEOF_LONG instead of SIZEOF_ULONG which is not Index: numeric.c =================================================================== --- numeric.c (revision 13574) +++ numeric.c (revision 13575) @@ -1523,7 +1523,7 @@ else { return; } -#if LONG_LONG_VALUE +#ifdef LONG_LONG_VALUE rb_raise(rb_eRangeError, "integer %lld too %s to convert to `int'", num, s); #else rb_raise(rb_eRangeError, "integer %ld too %s to convert to `int'", num, s); @@ -1534,7 +1534,7 @@ check_uint(VALUE num) { if (num > UINT_MAX) { -#if LONG_LONG_VALUE +#ifdef LONG_LONG_VALUE rb_raise(rb_eRangeError, "integer %llu too big to convert to `unsigned int'", num); #else rb_raise(rb_eRangeError, "integer %lu too big to convert to `unsigned int'", num); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml