2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

gcc 2.7.2.3 and 2.95.1 both dislike '#warn' but will accept '#warning' cpp

statements.
This commit is contained in:
James Brister 1999-12-06 12:35:19 +00:00
parent 6149906644
commit ce84c593e8

View File

@ -143,11 +143,11 @@ typedef isc_event_t intev_t;
#ifdef USE_CMSG #ifdef USE_CMSG
#if !defined(CMSG_SPACE) || !defined(CMSG_NXTHDR) || !defined(CMSG_FIRSTHDR) \ #if !defined(CMSG_SPACE) || !defined(CMSG_NXTHDR) || !defined(CMSG_FIRSTHDR) \
|| !defined(CMSG_LEN) || !defined(CMSG_DATA) || !defined(CMSG_LEN) || !defined(CMSG_DATA)
#warn Not using ipv6 pktinfo or timestamp because of partial CMSG_ implementation. #warning Not using ipv6 pktinfo or timestamp because of partial CMSG_ implementation.
#undef USE_CMSG #undef USE_CMSG
#endif #endif
#if !defined(ISC_NET_BSD44MSGHDR) #if !defined(ISC_NET_BSD44MSGHDR)
#warn Not using ipv6 pktinfo or timestamp because of lack of BSD44 msghdr #warning Not using ipv6 pktinfo or timestamp because of lack of BSD44 msghdr
#undef USE_CMSG #undef USE_CMSG
#endif #endif
#endif #endif