mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Fix undefined symbol error on Windows
This commit is contained in:
@@ -142,5 +142,8 @@
|
|||||||
#define DNET_INCLUDED 1
|
#define DNET_INCLUDED 1
|
||||||
#define PCRE_INCLUDED 1
|
#define PCRE_INCLUDED 1
|
||||||
|
|
||||||
|
/* WinPCAP doesn't have this */
|
||||||
|
#define PCAP_NETMASK_UNKNOWN 0
|
||||||
|
|
||||||
#endif /* NMAP_WINCONFIG_H */
|
#endif /* NMAP_WINCONFIG_H */
|
||||||
|
|
||||||
|
|||||||
@@ -95,6 +95,8 @@
|
|||||||
|
|
||||||
#ifndef DISABLE_NSOCK_PCAP
|
#ifndef DISABLE_NSOCK_PCAP
|
||||||
#define HAVE_PCAP 1
|
#define HAVE_PCAP 1
|
||||||
|
/* WinPCAP doesn't have this */
|
||||||
|
#define PCAP_NETMASK_UNKNOWN 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* WSAPoll() isn't available before Vista */
|
/* WSAPoll() isn't available before Vista */
|
||||||
|
|||||||
Reference in New Issue
Block a user