summaryrefslogtreecommitdiff
path: root/ext/rbconfig/sizeof/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-28 22:24:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-28 22:24:05 +0000
commit52436ce1b11864d7293a2013c07e53c0345d1622 (patch)
tree1b48b6edc84d84a3a9a5288bfeee192dcc950809 /ext/rbconfig/sizeof/extconf.rb
parent548b97e70c9115feaee8011a7b28c2a2f9660147 (diff)
sizes.c.tmpl: extract RUBY_DEFINT
* template/sizes.c.tmpl: extract RUBY_DEFINT to define sizes of types checked by configure.in, and fix size of intptr_t in universal binary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/rbconfig/sizeof/extconf.rb')
-rw-r--r--ext/rbconfig/sizeof/extconf.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/rbconfig/sizeof/extconf.rb b/ext/rbconfig/sizeof/extconf.rb
index efbdeb7d6a..695f13a5ff 100644
--- a/ext/rbconfig/sizeof/extconf.rb
+++ b/ext/rbconfig/sizeof/extconf.rb
@@ -1,10 +1,6 @@
$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')
@@ -13,7 +9,6 @@ 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')