Submitted by: Tim Rice <tim@multitalents.net>
Approved by: steve@openssl.org

Allow SOCKLEN_T type to be overridden at config time e.g.
./config -DSOCKLEN_T=int
This commit is contained in:
Dr. Stephen Henson 2009-04-03 16:44:40 +00:00
parent d769e7a58c
commit 1cf3571ea4

View File

@ -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 {