version 1.1.1.1, 2016/11/01 09:54:32
|
version 1.1.1.2, 2021/03/17 00:32:36
|
Line 18 AC_DEFUN([TYPE_SOCKLEN_T],
|
Line 18 AC_DEFUN([TYPE_SOCKLEN_T],
|
rsync_cv_socklen_t_equiv= |
rsync_cv_socklen_t_equiv= |
for arg2 in "struct sockaddr" void; do |
for arg2 in "struct sockaddr" void; do |
for t in int size_t unsigned long "unsigned long"; do |
for t in int size_t unsigned long "unsigned long"; do |
AC_TRY_COMPILE([ | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/socket.h> |
#include <sys/socket.h> |
|
|
int getpeername (int, $arg2 *, $t *); |
int getpeername (int, $arg2 *, $t *); |
],[ | ]],[[ |
$t len; |
$t len; |
getpeername(0,0,&len); |
getpeername(0,0,&len); |
],[ | ]])],[ |
rsync_cv_socklen_t_equiv="$t" |
rsync_cv_socklen_t_equiv="$t" |
break |
break |
]) |
]) |