From 1cf3571ea4fcdc7a15f9b6df7f9c94978757d296 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 3 Apr 2009 16:44:40 +0000 Subject: [PATCH] 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 --- crypto/bio/b_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.25.1