2 getpeername() function: return information about the remote end of a connected
13 errno [test "$ac_cv_header_winsock2_h" = yes]
14 msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes]
17 AC_REQUIRE([gl_SYS_SOCKET_H])
18 gl_CONDITIONAL([GL_COND_OBJ_GETPEERNAME],
19 [test "$ac_cv_header_winsock2_h" = yes])
20 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
23 if GL_COND_OBJ_GETPEERNAME
24 lib_SOURCES += getpeername.c
37 Paolo Bonzini, Simon Josefsson