[ruby-cvs:68775] shyouhei:r61594 (trunk): ULL suffix is a C99ism

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Thu Jan 4 16:51:18 JST 2018


shyouhei	2018-01-04 16:51:17 +0900 (Thu, 04 Jan 2018)

  New Revision: 61594

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61594

  Log:
    ULL suffix is a C99ism
    
    Don't assume long long == 8 bytes.
    
    If you can assume C99, there are macros named UINT64_C and
    such for appropriate integer literal suffixes.
    If you can't, no way but do a bitwise or.

  Modified files:
    trunk/string.c


More information about the ruby-cvs mailing list