apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: [PATCH] Recognize apr_socklen_t as 'int' to work correctly on IA64/HP-UX
Date Sat, 20 Mar 2004 09:45:15 GMT
On Fri, Mar 19, 2004 at 05:40:01PM -0800, Mathihalli, Madhusudan wrote:
> Hi,
> 	On HP-UX/IA64 plaforms (11.22, 11.23), the socklen_t is defined
> 	as size_t. However, things fail in Apache if the default value
> 	is used. The workaround is to use 'int' as a value for
> 	apr_socklen_t. I've not yet contacted the networking folks here
> 	(which I'll do so shortly).

OK, but why would this be compiler-specific?

> +case "$host:$CC" in
> +    ia64-hp-hpux*:cc )
> +       socklen_t_value="int"
> +       ;;
> +esac
> +
> +
>  APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>], ssize_t, 8)
>  
>  if test "$ac_cv_sizeof_ssize_t" = "$ac_cv_sizeof_int"; then

Mime
View raw message