[ruby-cvs:69631] shyouhei:r62450 (trunk): long long is a C99ism

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Sat Feb 17 18:51:23 JST 2018


shyouhei	2018-02-17 18:51:23 +0900 (Sat, 17 Feb 2018)

  New Revision: 62450

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

  Log:
    long long is a C99ism
    
    so SIZEOF_LONG_LONG is not always available.
    We have to check its defined?-ness before using.

  Modified files:
    trunk/ext/fiddle/lib/fiddle/import.rb
    trunk/ext/fiddle/lib/fiddle/pack.rb
    trunk/ext/fiddle/lib/fiddle/value.rb
    trunk/test/fiddle/test_cparser.rb
    trunk/test/fiddle/test_import.rb


More information about the ruby-cvs mailing list