tcpdump mailing list archives
D_IN vs PCAP_D_IN
From: "Aaron Turner" <synfinatic () gmail com>
Date: Mon, 27 Feb 2006 13:37:33 -0800
Well looks like sometime in libpcap 0.9.x, pcap.h changed the enum for direction_t to pcap_direction_t and the enumerated types within. While I can understand the reason of the change, it's driving me nuts since there doesn't seem to be an easy way to handle this gracefully. Since I don't use autoconf for this project, anyone have a way of detecting what version of pcap.h is there? Simple things like: #ifndef D_IN #define D_IN PCAP_D_IN #endif aren't going to work. -- Aaron Turner http://synfin.net/ - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Current thread:
- D_IN vs PCAP_D_IN Aaron Turner (Feb 27)
- Re: D_IN vs PCAP_D_IN dean gaudet (Feb 27)
- Re: D_IN vs PCAP_D_IN Aaron Turner (Feb 27)
- Re: D_IN vs PCAP_D_IN dean gaudet (Feb 27)