diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-10-31 16:43:46 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-10-31 16:43:46 -0700 |
commit | ee4e10fc6a5a9f97438284758c02e64131b03a01 (patch) | |
tree | 6788b63d9811a6e10d7cb4fa92c5caba2d45794f /sf-pcap-ng.h | |
parent | a16ca2786d56bff6cab41dd1542a387c77bb7370 (diff) | |
download | libpcap-ee4e10fc6a5a9f97438284758c02e64131b03a01.tar.gz |
Handle fopen() and fopen_s() differently.
If we have fopen_s(), define pcap_fopen as fopen_s(). Otherwise, have a
pcap_fopen() routine, which is a wrapper for fopen() and has the same
signature as fopen_s().
Use pcap_fopen() - and don't worry about "b" in the mode argument, it's
required by C90.
Diffstat (limited to 'sf-pcap-ng.h')
0 files changed, 0 insertions, 0 deletions