mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/sockport.h (SS_LEN): defined unconditionally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8a00868c3d
commit
557359d170
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Mar 2 21:39:08 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/sockport.h (SS_LEN): defined unconditionally.
|
||||
|
||||
Mon Mar 2 21:26:42 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/ancdata.c (anc_inspect_socket_creds): supress warnings.
|
||||
|
|
|
@ -10,7 +10,9 @@
|
|||
#ifndef SOCKPORT_H
|
||||
#define SOCKPORT_H
|
||||
|
||||
#ifndef SA_LEN
|
||||
#ifdef SA_LEN
|
||||
# define SS_LEN(ss) (ss)->ss_len
|
||||
#else
|
||||
# ifdef HAVE_SA_LEN
|
||||
# define SA_LEN(sa) (sa)->sa_len
|
||||
# define SS_LEN(ss) (ss)->ss_len
|
||||
|
|
Loading…
Reference in a new issue