aboutsummaryrefslogtreecommitdiffstats
path: root/template
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
commitb7cf16b2b01c08a5e28ebc54148312dda42b3a8d (patch)
tree1b48b6edc84d84a3a9a5288bfeee192dcc950809 /template
parent005b4ad03f1d6e7b538a6b3a72db9c518b1d7da4 (diff)
downloadruby-b7cf16b2b01c08a5e28ebc54148312dda42b3a8d.tar.gz
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 'template')
-rw-r--r--template/sizes.c.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/sizes.c.tmpl b/template/sizes.c.tmpl
index 146e209db7..da061ce509 100644
--- a/template/sizes.c.tmpl
+++ b/template/sizes.c.tmpl
@@ -7,6 +7,7 @@ class String
end
end
types = ARGF.grep(/^\s*RUBY_CHECK_SIZEOF\((\w[^\[\],#]*)[^#]*\)|
+ ^\s*RUBY_DEFINT\((\w[^\[\],#]*)[^#]*\)|
^\s*check_sizeof\('(.+?)'/x) {$+}
conditions = {
"long long" => 'defined(HAVE_TRUE_LONG_LONG)',