# HG changeset patch # User diego # Date 1199228075 0 # Node ID 5ba8eab6e1da6497d083e155b25247d65755d51a # Parent f0665d1388adbf3818ad5a52aba466ef87bcbd95 Add portable way to check for the existence of definitions and apply it to socklen_t. patch by Dave Yeo, daveryeo telus net diff -r f0665d1388ad -r 5ba8eab6e1da os_support.h --- a/os_support.h Tue Jan 01 22:05:51 2008 +0000 +++ b/os_support.h Tue Jan 01 22:54:35 2008 +0000 @@ -27,7 +27,7 @@ * miscellaneous OS support macros and functions. */ -#if defined(__BEOS__) || defined(__INNOTEK_LIBC__) || defined(__DJGPP__) +#ifndef HAVE_SOCKLEN_T typedef int socklen_t; #endif