mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
ce20b98b14
commit
488f478d24
1 changed files with 2 additions and 0 deletions
|
@ -484,6 +484,7 @@ inspect_int(int level, int optname, VALUE data, VALUE ret)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __NetBSD__
|
||||||
static int
|
static int
|
||||||
inspect_byte(int level, int optname, VALUE data, VALUE ret)
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
inspect_errno(int level, int optname, VALUE data, VALUE ret)
|
inspect_errno(int level, int optname, VALUE data, VALUE ret)
|
||||||
|
|
Loading…
Add table
Reference in a new issue