diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-01-29 02:16:13 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-01-29 02:16:13 -0800 |
commit | 0fb509808c60edc0ed52ca355306452a4ca91286 (patch) | |
tree | b4d6ccc462edd498010ac0c99de545703cc8d472 /cmakeconfig.h.in | |
parent | ffe074feba0544bfd67104996b9fb6f13382741d (diff) | |
download | tcpdump-0fb509808c60edc0ed52ca355306452a4ca91286.tar.gz |
Not all Windows pcaps have pcap_wsockinit().
WinPcap 4.1.3 has only wsockinit(); check for both, on Windows.
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r-- | cmakeconfig.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 039bc5f3..2d28585e 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -174,6 +174,9 @@ /* define if libpcap has pcap_version */ #cmakedefine HAVE_PCAP_VERSION 1 +/* Define to 1 if you have the `pcap_wsockinit' function. */ +#cmakedefine HAVE_PCAP_WSOCKINIT 1 + /* Define to 1 if you have the `pfopen' function. */ #cmakedefine HAVE_PFOPEN 1 @@ -240,6 +243,9 @@ /* Define to 1 if you have the `vsnprintf' function. */ #cmakedefine HAVE_VSNPRINTF 1 +/* Define to 1 if you have the `wsockinit' function. */ +#cmakedefine HAVE_WSOCKINIT 1 + /* define if libpcap has yydebug */ #cmakedefine HAVE_YYDEBUG 1 |