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 | b0ad488a8125bdf3ff4df9e98b6dfcbad31739a2 (patch) | |
| tree | d03b94c87a9455bd4227d26b65e8d5165861cb03 /lib | |
| parent | 76d595782db9b994ca36bfa36b6e5cfca66296b6 (diff) | |
| download | ruby-b0ad488a8125bdf3ff4df9e98b6dfcbad31739a2.tar.gz ruby-b0ad488a8125bdf3ff4df9e98b6dfcbad31739a2.tar.xz ruby-b0ad488a8125bdf3ff4df9e98b6dfcbad31739a2.zip | |
* lib/mkmf.rb (have_type): suppress a warning with -Wall.
git-svn-id: http://svn.ruby-lang.org/repos/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 7e2054599..fbc0f5661 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 |
