diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-31 22:53:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-31 22:53:58 +0000 |
commit | 488f478d24019de88aa96944a0b91987ced37e12 (patch) | |
tree | bf73719b75d9813b1e3ddb17b67528f4288d9761 /ext | |
parent | ce20b98b143bda528d87c14128b8e977baece2a9 (diff) | |
download | ruby-488f478d24019de88aa96944a0b91987ced37e12.tar.gz |
* ext/socket/option.c (inspect_byte): used only on NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/socket/option.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c index f2f052e8e6..ef712168a7 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -484,6 +484,7 @@ inspect_int(int level, int optname, VALUE data, VALUE ret) } } +#ifdef __NetBSD__ static int inspect_byte(int level, int optname, VALUE data, VALUE ret) { @@ -495,6 +496,7 @@ inspect_byte(int level, int optname, VALUE data, VALUE ret) return 0; } } +#endif static int inspect_errno(int level, int optname, VALUE data, VALUE ret) |