1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-21 06:59:01 +00:00

Replace a config-time check with a ifndef that also works on Windows.

This commit is contained in:
dmiller
2018-11-21 06:23:08 +00:00
parent 33f16dd075
commit f8004b792c
11 changed files with 13 additions and 134 deletions

View File

@@ -138,12 +138,6 @@
#include "nbase.h"
#include <pcap.h>
#ifdef WIN32
/* WinPCAP doesn't have this, but Npcap does.
* Using 0 is safe for both, but change this if we decide to drop WinPcap */
#undef PCAP_NETMASK_UNKNOWN
#define PCAP_NETMASK_UNKNOWN 0
#endif
class Target;