From: <htd...@li...> - 2001-12-19 18:29:17
|
The prototype for getpeername() on Solaris 8/SPARC is: typedef void *Psocklen_t; int getpeername (int, struct sockaddr *, Psocklen_t); The logic in configure.in to detect this is not going to work because the test program would be: #include <sys/types.h> #include <sy/socket.h> extern "C" int getpeername (int, struct sockaddr *, void *); struct sockaddr s; void l; ... Clearly the 'void l' is not going to work. What is the solution? -- albert chin (ch...@th...) |