From: Dr. Stephen Henson Date: Fri, 3 Apr 2009 16:44:40 +0000 (+0000) Subject: PR: 1888 X-Git-Tag: OpenSSL_1_0_0-beta2~47 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1cf3571ea4fcdc7a15f9b6df7f9c94978757d296;p=oweals%2Fopenssl.git PR: 1888 Submitted by: Tim Rice Approved by: steve@openssl.org Allow SOCKLEN_T type to be overridden at config time e.g. ./config -DSOCKLEN_T=int --- diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index 0eee25a0bc..da0f126f12 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -810,7 +810,7 @@ int BIO_accept(int sock, char **addr) #ifdef EAI_FAMILY # if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_BEOS_BONE) || defined(OPENSSL_SYS_MSDOS) # define SOCKLEN_T size_t -# else +# elif !defined(SOCKLEN_T) # define SOCKLEN_T socklen_t #endif do {