[ruby-cvs:68652] nobu:r61471 (trunk): Use UINT128_T support flag from configure

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Dec 25 21:32:09 JST 2017

nobu	2017-12-25 21:32:09 +0900 (Mon, 25 Dec 2017)

  New Revision: 61471


    Use UINT128_T support flag from configure
    Current check for __uint128_t in hash.c is not valid, since it ignores
    compilers other than gcc. We hit this on lcc on e2k platform.
    Configure script properly checks from 128-bit data types support and
    sets HAVE_UINT128_T accordingly. This approach is already used within
    ruby at bignum.c, random.c, etc.
    Probably hash.c is an overlooked remnant of old days. This patch fixes
    [ruby-core:84438] [Bug #14231] [Fix GH-1781]
    From: Andrew Savchenko <bircoph at altlinux.org>

  Modified files:

More information about the ruby-cvs mailing list