Changing the definition of RUBY_VERSION_CODE

e$B!!8=:_!“e(B RUBY_VERSION_CODE e$B$Oe(B 185
e$B$N$h$&$J;07e$NCM$KDj5A$5$l$Fe(B
e$B$$$^$9$,!”:#2s$Ne(B patchlevel
e$B$NF3F~$K8F1~$7$F0J2<$N$h$&$KDj5A$re(B
e$BJQ99$7$?$$$G$9!#$$$+$,$G$7$g$&$+!#e(B

#define RUBY_VERSION_CODE (10000UL * (100 * RUBY_VERSION_MAJOR +
10 * RUBY_VERSION_MINOR + RUBY_VERSION_TEENY) +
RUBY_VERSION_PATCHLEVEL)

e$B!!F05!$O!"%P!<%8%g%s$r<($90l0U$J%7%j%"%kCM$,$"$k$N$,K>$^$7$/!“e(B
RUBY_VERSION_CODE
e$B$,$=$&$G$”$C$F$[$7$$$H$$$&$3$H$G$9!#e(B(e$B$=$l$>$le(B
10e$B$N2?>hG$9$k$+$OMW8!F$e(B)

[email protected]$G$9$,!“e(B Ruby
e$B%l%Y%k$G$O!”$3$NDj?t$OO*=P$7$F$$$J$$$N$Ge(B
e$BLdBj$J$$$H;W$$$^$9!#$3$l$r5!$Ke(B Ruby e$B$K$b8+$;$?$$$G$9!#e(B

e$B!!e(BC e$B%l%Y%k$G$O!"!Ve(B#if RUBY_VERSION_CODE >=
185e$B!W$N$h$&$J2a5n$Ne(B
e$BCM$H$NHf3S$OLdBj$"$j$^$;$s$,!"!Ve(B#if RUBY_VERSION_CODE <
190e$B!W$Ne(B
e$B$h$&$JL$Mh$NCM$K4X$7$F$O2u$l$F$7$^$$$^$9!#$3$l$K$D$$$F$Oe(B:

e$B$H$$$&$3$H$G$I$&$G$7$g$&!#$A$J$_$K<j85$G8!:w$7$?$H$3$m!“e(B180e$B$h$je(B
e$BBg$-$JCM$HHf3S$7$F$$$kNc$O$[$H$s$I$”$j$^$;$s$G$7$?!#e(B(e$B?tNce(B)


/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp

“Different eyes see different things,
Different hearts beat on different strings –
But there are times for you and me when all such things agree”