mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 02:19:04 +00:00
remove PCAP_TIMEOUT_IGNORED define since it isn't used anywhere currently
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -4813,10 +4813,6 @@ _ACEOF
|
||||
#define LINUX 1
|
||||
_ACEOF
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define PCAP_TIMEOUT_IGNORED 1
|
||||
_ACEOF
|
||||
# libpcap doesn't even LOOK at the timeout you give it under Linux
|
||||
LDFLAGS="-Wl,-E $LDFLAGS" # needed for nse-C-module support
|
||||
;;
|
||||
*-apple-darwin*)
|
||||
|
||||
@@ -177,7 +177,6 @@ case "$host" in
|
||||
;;
|
||||
*-linux*)
|
||||
AC_DEFINE(LINUX)
|
||||
AC_DEFINE(PCAP_TIMEOUT_IGNORED) # libpcap doesn't even LOOK at the timeout you give it under Linux
|
||||
LDFLAGS="-Wl,-E $LDFLAGS" # needed for nse-C-module support
|
||||
;;
|
||||
*-apple-darwin*)
|
||||
|
||||
@@ -93,8 +93,6 @@
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
#undef PCAP_TIMEOUT_IGNORED
|
||||
|
||||
#undef HAVE_STRUCT_IP
|
||||
|
||||
#undef HAVE_NANOSLEEP
|
||||
|
||||
Reference in New Issue
Block a user