You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
642 B
28 lines
642 B
--- network-3.1.1.1/include/HsNet.h~ 2001-09-09 09:46:40.000000000 +0800
|
|
+++ network-3.1.1.1/include/HsNet.h 2021-06-24 17:25:39.287773682 +0800
|
|
@@ -86,24 +86,6 @@
|
|
recvFd(int sock);
|
|
#endif /* _WIN32 */
|
|
|
|
-INLINE char *
|
|
-hsnet_inet_ntoa(
|
|
-#if defined(_WIN32)
|
|
- u_long addr
|
|
-#elif defined(HAVE_IN_ADDR_T)
|
|
- in_addr_t addr
|
|
-#elif defined(HAVE_INTTYPES_H)
|
|
- u_int32_t addr
|
|
-#else
|
|
- unsigned long addr
|
|
-#endif
|
|
- )
|
|
-{
|
|
- struct in_addr a;
|
|
- a.s_addr = addr;
|
|
- return inet_ntoa(a);
|
|
-}
|
|
-
|
|
INLINE int
|
|
hsnet_getnameinfo(const struct sockaddr* a,socklen_t b, char* c,
|
|
# if defined(_WIN32)
|