ruby-changes:41676
From: nobu <ko1@a...>
Date: Sat, 6 Feb 2016 20:44:30 +0900 (JST)
Subject: [ruby-changes:41676] nobu:r53750 (trunk): check __int64_t and __int128_t
nobu 2016-02-06 20:44:33 +0900 (Sat, 06 Feb 2016) New Revision: 53750 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53750 Log: check __int64_t and __int128_t * configure.in: check __int64_t and __int128_t for RUBY_DEFINT on OS X. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 53749) +++ configure.in (revision 53750) @@ -1473,6 +1473,8 @@ RUBY_CHECK_SIZEOF(long, [int], [ILP LP]) https://github.com/ruby/ruby/blob/trunk/configure.in#L1473 RUBY_CHECK_SIZEOF(long long) RUBY_CHECK_SIZEOF(__int64) RUBY_CHECK_SIZEOF(__int128) +RUBY_CHECK_SIZEOF(__int64_t) +RUBY_CHECK_SIZEOF(__int128_t) RUBY_CHECK_SIZEOF(off_t) RUBY_CHECK_SIZEOF(void*, [int long "long long"], [ILP LP LLP]) RUBY_CHECK_SIZEOF(float) @@ -2007,6 +2009,8 @@ typedef $1 t; int s = sizeof(t) == 42;]) https://github.com/ruby/ruby/blob/trunk/configure.in#L2009 ["$ac_cv_sizeof_int"], [ rb_cv_type_$1="m4_if([$3], [], [], [$3 ])int"], ["$ac_cv_sizeof_long"], [ rb_cv_type_$1="m4_if([$3], [], [], [$3 ])long"], ["$ac_cv_sizeof_long_long"], [ rb_cv_type_$1="m4_if([$3], [], [], [$3 ])long long"], + ["$ac_cv_sizeof___int64_t"], [ rb_cv_type_$1="m4_if([$3], [], [], [$3 ])__int64_t"], + ["$ac_cv_sizeof___int128_t"], [ rb_cv_type_$1="m4_if([$3], [], [], [$3 ])__int128_t"], ["$ac_cv_sizeof___int64"], [ rb_cv_type_$1="m4_if([$3], [], [], [$3 ])__int64"], ["$ac_cv_sizeof___int128"], [ rb_cv_type_$1="m4_if([$3], [], [], [$3 ])__int128"], [ rb_cv_type_$1=no])])]) Index: ChangeLog =================================================================== --- ChangeLog (revision 53749) +++ ChangeLog (revision 53750) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Feb 6 20:44:24 2016 Nobuyoshi Nakada <nobu@r...> + + * configure.in: check __int64_t and __int128_t for RUBY_DEFINT on + OS X. + Sat Feb 6 15:18:28 2016 Martin Duerst <duerst@i...> * test/ruby/enc/test_regex_casefold.rb: Added data-based testing for -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/