summaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-11-03 13:34:58 -0800
committerGuy Harris <guy@alum.mit.edu>2015-11-03 13:34:58 -0800
commit17e43dfad4f2923adc1a6c396b4e8e30a6a1dbb9 (patch)
tree5a479ac7560506891c088d8e2a4c5568fb6ba1a3 /missing
parent9345447aca0518ef74936db729dc94c58f1ce46f (diff)
downloadlibpcap-17e43dfad4f2923adc1a6c396b4e8e30a6a1dbb9.tar.gz
Fix test programs to build on more platforms.
Add a bunch of compiler checks to define various macros for attributes to be assigned to functions and variables. The Single UNIX Specification says inet_addr() returns (in_addr_t)(-1) on an error; check for that, as INADDR_NONE isn't defined on all UN*Xes. (Microsoft's documentation says inet_addr() returns INADDR_NONE, but that's probably just -1 or 0xffffffff.) Check whether we have sys/select.h and, if we don't, include sys/time.h instead; some older UN*Xes don't have sys/select.h. Get rid of some unused #defines in Win32/Include/Gnuc.h.
Diffstat (limited to 'missing')
0 files changed, 0 insertions, 0 deletions