зеркало из https://github.com/github/ruby.git
* 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:
Родитель
8a00868c3d
Коммит
557359d170
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче