mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
1617. [port] win32: VC++ 6.0 support.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: ipv6.h,v 1.12 2004/03/16 05:52:23 marka Exp $ */
|
||||
/* $Id: ipv6.h,v 1.13 2004/04/19 04:16:55 marka Exp $ */
|
||||
|
||||
#ifndef ISC_IPV6_H
|
||||
#define ISC_IPV6_H 1
|
||||
@@ -43,6 +43,10 @@
|
||||
* RFC 2553.
|
||||
*/
|
||||
|
||||
#if _MSC_VER < 1300
|
||||
#define in6_addr in_addr6
|
||||
#endif
|
||||
|
||||
#ifndef IN6ADDR_ANY_INIT
|
||||
#define IN6ADDR_ANY_INIT {{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }}
|
||||
#endif
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: net.h,v 1.21 2004/03/05 05:12:05 marka Exp $ */
|
||||
/* $Id: net.h,v 1.22 2004/04/19 04:16:55 marka Exp $ */
|
||||
|
||||
#ifndef ISC_NET_H
|
||||
#define ISC_NET_H 1
|
||||
@@ -117,6 +117,11 @@ struct in6_pktinfo {
|
||||
};
|
||||
#endif
|
||||
|
||||
#if _MSC_VER < 1300
|
||||
#define in6addr_any isc_in6addr_any
|
||||
#define in6addr_loopback isc_in6addr_loopback
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Ensure type in_port_t is defined.
|
||||
*/
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: platform.h,v 1.9 2004/03/16 05:52:23 marka Exp $ */
|
||||
/* $Id: platform.h,v 1.10 2004/04/19 04:16:55 marka Exp $ */
|
||||
|
||||
#ifndef ISC_PLATFORM_H
|
||||
#define ISC_PLATFORM_H 1
|
||||
@@ -31,7 +31,9 @@
|
||||
***/
|
||||
|
||||
#define ISC_PLATFORM_HAVEIPV6
|
||||
#if _MSC_VER > 1200
|
||||
#define ISC_PLATFORM_HAVEIN6PKTINFO
|
||||
#endif
|
||||
#define ISC_PLATFORM_NEEDPORTT
|
||||
#undef MSG_TRUNC
|
||||
#define ISC_PLATFORM_NEEDNTOP
|
||||
|
Reference in New Issue
Block a user