diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-03 12:00:50 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-03 12:00:50 +0000 |
commit | 5fc874723e3694bc93f711cdadadc38eae56850f (patch) | |
tree | 761d1c189324705362726e2fc13dda7d2189810f /template | |
parent | ec2a2894672403037c1c916edc1bad308a4dffc1 (diff) | |
download | ruby-5fc874723e3694bc93f711cdadadc38eae56850f.tar.gz |
* configure.in: Don't check __int128.
* ext/rbconfig/sizeof/extconf.rb: Check __int128.
* ext/rbconfig/sizeof/depend: sizes.c depends on
ext/rbconfig/sizeof/extconf.rb.
* template/sizes.c.tmpl: Detect check_sizeof.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r-- | template/sizes.c.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/template/sizes.c.tmpl b/template/sizes.c.tmpl index ac9964dd5b..045e69ee71 100644 --- a/template/sizes.c.tmpl +++ b/template/sizes.c.tmpl @@ -6,7 +6,8 @@ class String strip.upcase.tr_s("^A-Z0-9_*", "_").tr_s("*", "P") end end -types = ARGF.grep(/^\s*RUBY_CHECK_SIZEOF\((\w[^\[\],#]*)[^#]*\)/) {$1} +types = ARGF.grep(/^\s*RUBY_CHECK_SIZEOF\((\w[^\[\],#]*)[^#]*\)| + ^\s*check_sizeof\('(\w+)'/x) {$+} conditions = { "long long" => 'defined(HAVE_TRUE_LONG_LONG)', } |