Skip to content

Commit

Permalink
Merge pull request the-tcpdump-group#896 from orgads/cygwin
Browse files Browse the repository at this point in the history
Fix compilation on Cygwin
  • Loading branch information
guyharris authored Jan 6, 2020
2 parents 1292358 + 4a7d7fc commit 1b8a2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nametoaddr.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ pcap_nametoaddrinfo(const char *name)
* XXX - not guaranteed to be thread-safe! See below for platforms
* on which it is thread-safe and on which it isn't.
*/
#ifdef _WIN32
#if defined(_WIN32) || defined(__CYGWIN__)
bpf_u_int32
pcap_nametonetaddr(const char *name _U_)
{
Expand Down

0 comments on commit 1b8a2c2

Please sign in to comment.