]> The Tcpdump Group git mirrors - libpcap/commitdiff
Use the libpcap compiler test macro, not the tcpdump one.
authorGuy Harris <[email protected]>
Sat, 4 Aug 2018 10:02:27 +0000 (03:02 -0700)
committerGuy Harris <[email protected]>
Sat, 4 Aug 2018 10:02:27 +0000 (03:02 -0700)
extract.h

index 941ccc2a349c165b814facb0b17a207407ec4f5f..64da516b6a07a05715f02d4b62470809f1ba9084 100644 (file)
--- 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__))
 /*