[ntpsec commit] in_port_t and MSG_TRUNC are both standardized.

Eric S. Raymond esr at ntpsec.org
Sat Oct 3 10:43:00 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    0e27d2dd75391437cc0adb2ba986de61c8b49b65
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=0e27d2dd75391437cc0adb2ba986de61c8b49b65

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Sat Oct  3 06:42:15 2015 -0400

in_port_t and MSG_TRUNC are both standardized.

---

 lib/isc/win32/include/isc/net.h | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/lib/isc/win32/include/isc/net.h b/lib/isc/win32/include/isc/net.h
index 1acac9c..76f86a1 100644
--- a/lib/isc/win32/include/isc/net.h
+++ b/lib/isc/win32/include/isc/net.h
@@ -117,22 +117,6 @@ struct in6_pktinfo {
 #define in6addr_loopback isc_net_in6addrloop
 #endif
 
-/*
- * Ensure type in_port_t is defined.
- */
-#ifdef ISC_PLATFORM_NEEDPORTT
-typedef isc_uint16_t in_port_t;
-#endif
-
-/*
- * If this system does not have MSG_TRUNC (as returned from recvmsg())
- * ISC_PLATFORM_RECVOVERFLOW will be defined.  This will enable the MSG_TRUNC
- * faking code in socket.c.
- */
-#ifndef MSG_TRUNC
-#define ISC_PLATFORM_RECVOVERFLOW
-#endif
-
 #define ISC__IPADDR(x)	((isc_uint32_t)htonl((isc_uint32_t)(x)))
 
 #define ISC_IPADDR_ISMULTICAST(i) \



More information about the vc mailing list