wpcap: Fix compile warnings for redefinition of PCAP_OPENFLAG_PROMISCUOUS.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Vijay Kiran Kamuju 2019-05-03 18:49:48 +02:00 committed by Alexandre Julliard
parent 4cc3ef9391
commit 660399b8fd
1 changed files with 2 additions and 0 deletions

View File

@ -254,7 +254,9 @@ int CDECL wine_pcap_next_ex(pcap_t *p, struct pcap_pkthdr **pkt_header, const un
return pcap_next_ex(p, pkt_header, pkt_data);
}
#ifndef PCAP_OPENFLAG_PROMISCUOUS
#define PCAP_OPENFLAG_PROMISCUOUS 1
#endif
pcap_t* CDECL wine_pcap_open(const char *source, int snaplen, int flags, int read_timeout,
void *auth, char *errbuf)