mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-22 09:20:51 -05:00
Fixed CPP macro name that wasn't changed when platform.h was created.
This commit is contained in:
parent
95360399dc
commit
5f42ef032d
3 changed files with 7 additions and 7 deletions
|
|
@ -70,7 +70,7 @@ extern struct in6_addr in6addr_any;
|
|||
extern struct in6_addr in6addr_loopback;
|
||||
|
||||
struct sockaddr_in6 {
|
||||
#ifdef ISC_NET_HAVESALEN
|
||||
#ifdef ISC_PLATFORM_HAVESALEN
|
||||
isc_uint8_t sin6_len;
|
||||
isc_uint8_t sin6_family;
|
||||
#else
|
||||
|
|
@ -82,7 +82,7 @@ struct sockaddr_in6 {
|
|||
isc_uint32_t sin6_scope_id;
|
||||
};
|
||||
|
||||
#ifdef ISC_NET_HAVESALEN
|
||||
#ifdef ISC_PLATFORM_HAVESALEN
|
||||
#define SIN6_LEN 1
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ extern struct in6_addr in6addr_any;
|
|||
extern struct in6_addr in6addr_loopback;
|
||||
|
||||
struct sockaddr_in6 {
|
||||
#ifdef ISC_NET_HAVESALEN
|
||||
#ifdef ISC_PLATFORM_HAVESALEN
|
||||
isc_uint8_t sin6_len;
|
||||
isc_uint8_t sin6_family;
|
||||
#else
|
||||
|
|
@ -82,7 +82,7 @@ struct sockaddr_in6 {
|
|||
isc_uint32_t sin6_scope_id;
|
||||
};
|
||||
|
||||
#ifdef ISC_NET_HAVESALEN
|
||||
#ifdef ISC_PLATFORM_HAVESALEN
|
||||
#define SIN6_LEN 1
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -65,10 +65,10 @@
|
|||
***/
|
||||
|
||||
/*
|
||||
* If sockaddrs on this system have an sa_len field, ISC_NET_HAVESALEN will
|
||||
* be defined.
|
||||
* If sockaddrs on this system have an sa_len field, ISC_PLATFORM_HAVESALEN
|
||||
* will be defined.
|
||||
*/
|
||||
#undef ISC_NET_HAVESALEN
|
||||
#undef ISC_PLATFORM_HAVESALEN
|
||||
|
||||
/*
|
||||
* If this system has the IPv6 structure definitions, ISC_NET_HAVEIPV6
|
||||
|
|
|
|||
Loading…
Reference in a new issue