diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-09 07:45:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-09 07:45:36 +0000 |
commit | b3d2a8aaedb27c56461aaf236654bb8386b0c6a1 (patch) | |
tree | 9bb3dfb10550fa7e60b57ceee47d85af00f73cf6 /ext/iconv/extconf.rb | |
parent | f5451f4fca8e02df500668c77ba7bbe6043690ac (diff) | |
download | ruby-b3d2a8aaedb27c56461aaf236654bb8386b0c6a1.tar.gz |
* ext/iconv/iconv.c (iconv_try), ext/iconv/extconf.rb: get rid of meta
characters in command line option. fixed: [ruby-talk:155369]
* ext/iconv/iconv.c: protoized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/iconv/extconf.rb')
-rw-r--r-- | ext/iconv/extconf.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/iconv/extconf.rb b/ext/iconv/extconf.rb index 36f291c4a6..1fe2d8a932 100644 --- a/ext/iconv/extconf.rb +++ b/ext/iconv/extconf.rb @@ -21,9 +21,7 @@ if have_func("iconv", "iconv.h") or /\bconst\b/ =~ second end end - $defs.push('-DICONV_INPTR_CAST=""') - else - $defs.push('-DICONV_INPTR_CAST="(char **)"') + $defs.push('-DICONV_INPTR_CONST') end have_func("iconvlist", "iconv.h") if conf |