ruby-changes:38669
From: akr <ko1@a...>
Date: Wed, 3 Jun 2015 21:14:45 +0900 (JST)
Subject: [ruby-changes:38669] akr:r50750 (trunk): * ext/rbconfig/sizeof/extconf.rb: Check C99 standard integer types.
akr 2015-06-03 21:14:21 +0900 (Wed, 03 Jun 2015) New Revision: 50750 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50750 Log: * ext/rbconfig/sizeof/extconf.rb: Check C99 standard integer types. Modified files: trunk/ChangeLog trunk/ext/rbconfig/sizeof/extconf.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 50749) +++ ChangeLog (revision 50750) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Jun 3 21:14:20 2015 Tanaka Akira <akr@f...> + + * ext/rbconfig/sizeof/extconf.rb: Check C99 standard integer types. + Wed Jun 3 21:00:47 2015 Tanaka Akira <akr@f...> * configure.in: Don't check __int128. Index: ext/rbconfig/sizeof/extconf.rb =================================================================== --- ext/rbconfig/sizeof/extconf.rb (revision 50749) +++ ext/rbconfig/sizeof/extconf.rb (revision 50750) @@ -1,4 +1,23 @@ https://github.com/ruby/ruby/blob/trunk/ext/rbconfig/sizeof/extconf.rb#L1 $srcs = %w[sizes.c] $distcleanfiles.concat($srcs) +check_sizeof('int8_t') +check_sizeof('int16_t') +check_sizeof('int32_t') +check_sizeof('int64_t') +check_sizeof('int_least8_t') +check_sizeof('int_least16_t') +check_sizeof('int_least32_t') +check_sizeof('int_least64_t') +check_sizeof('int_fast8_t') +check_sizeof('int_fast16_t') +check_sizeof('int_fast32_t') +check_sizeof('int_fast64_t') +check_sizeof('intptr_t') +check_sizeof('intmax_t') +check_sizeof('sig_atomic_t', %w[signal.h]) +check_sizeof('wchar_t') +check_sizeof('wint_t', %w[wctype.h]) +check_sizeof('wctrans_t', %w[wctype.h]) +check_sizeof('wctype_t', %w[wctype.h]) check_sizeof('__int128') create_makefile('rbconfig/sizeof') -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/