2
0
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:
Mark Andrews
2000-01-24 06:52:50 +00:00
parent ca741105cb
commit d0783e645b

View File

@@ -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] = {