diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-16 10:22:16 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-16 10:22:16 +0000 |
commit | 96593ece29ad71f0b3545df730f566199a8ec4a0 (patch) | |
tree | a850065fe1d5072ecfaa1253be68959fd6bf04cc /template | |
parent | e4d0f54b1b0e3391eabbb961530beaffcbc7879a (diff) | |
download | ruby-96593ece29ad71f0b3545df730f566199a8ec4a0.tar.gz |
* ext/rbconfig/sizeof/extconf.rb: Check several types defined in C99
and x86_64 ABI.
* template/sizes.c.tmpl: Relax a pattern for types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r-- | template/sizes.c.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/sizes.c.tmpl b/template/sizes.c.tmpl index 045e69ee71..146e209db7 100644 --- a/template/sizes.c.tmpl +++ b/template/sizes.c.tmpl @@ -7,7 +7,7 @@ class String end end types = ARGF.grep(/^\s*RUBY_CHECK_SIZEOF\((\w[^\[\],#]*)[^#]*\)| - ^\s*check_sizeof\('(\w+)'/x) {$+} + ^\s*check_sizeof\('(.+?)'/x) {$+} conditions = { "long long" => 'defined(HAVE_TRUE_LONG_LONG)', } |