From: Guy Harris Date: Sat, 4 Aug 2018 10:02:27 +0000 (-0700) Subject: Use the libpcap compiler test macro, not the tcpdump one. X-Git-Tag: libpcap-1.10-bp~881 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/fbd4c58304f17970573c8190314b4ea4d0a5718a Use the libpcap compiler test macro, not the tcpdump one. --- diff --git a/extract.h b/extract.h index 941ccc2a..64da516b 100644 --- a/extract.h +++ b/extract.h @@ -116,7 +116,7 @@ EXTRACT_BE_S_8(const void *p) ((uint64_t)ntohl(*((const uint32_t *)(p) + 1))) << 0)); } -#elif ND_IS_AT_LEAST_GNUC_VERSION(2,0) && \ +#elif PCAP_IS_AT_LEAST_GNUC_VERSION(2,0) && \ (defined(__alpha) || defined(__alpha__) || \ defined(__mips) || defined(__mips__)) /*