diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-02 21:40:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-02 21:40:06 +0000 |
commit | 332297419613bf3df97e77d4f21ee7be6b1da1aa (patch) | |
tree | d03b94c87a9455bd4227d26b65e8d5165861cb03 /lib | |
parent | 899742b26930aac433a64f00c960fa08250d062b (diff) | |
download | ruby-332297419613bf3df97e77d4f21ee7be6b1da1aa.tar.gz |
* lib/mkmf.rb (have_type): suppress a warning with -Wall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 7e20545994..fbc0f56618 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -793,7 +793,7 @@ def have_type(type, headers = nil, opt = "", &b) #{headers} /*top*/ typedef #{type} conftest_type; -static conftest_type conftestval[sizeof(conftest_type)?1:-1]; +int conftestval[sizeof(conftest_type)?1:-1]; SRC $defs.push(format("-DHAVE_TYPE_%s", type.strip.upcase.tr_s("^A-Z0-9_", "_"))) true |