mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
check for previous definitions of INADDRSZ and IN6ADDRSZ
This commit is contained in:
@@ -8,8 +8,12 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#ifndef INADDRSZ
|
||||||
#define INADDRSZ 4
|
#define INADDRSZ 4
|
||||||
|
#endif
|
||||||
|
#ifndef IN6ADDRSZ
|
||||||
#define IN6ADDRSZ 16
|
#define IN6ADDRSZ 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef IN6_IS_ADDR_V4COMPAT
|
#ifndef IN6_IS_ADDR_V4COMPAT
|
||||||
static const unsigned char in6addr_compat[12] = {
|
static const unsigned char in6addr_compat[12] = {
|
||||||
|
Reference in New Issue
Block a user