mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Only set HAVE_POLL on Vista and later.
Patch by Gisle Vanem
This commit is contained in:
parent
4c298e6e67
commit
99424a2b3e
2 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [Nsock] Fixed compilation on Windows XP by restricting the use
|
||||
of the poll engine to Vista and later. [Gisle Vanem]
|
||||
|
||||
o [NSE] Added support for ECDSA keys to ssh-hostkey.nse. [Adam Števko]
|
||||
|
||||
o [Nsock] Added new poll and kqueue engines. [Henri Doreau]
|
||||
|
|
|
|||
|
|
@ -97,6 +97,9 @@
|
|||
#define HAVE_PCAP 1
|
||||
#endif
|
||||
|
||||
/* WSAPoll() isn't available before Vista */
|
||||
#if defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600)
|
||||
#define HAVE_POLL 1
|
||||
#endif
|
||||
|
||||
#endif /* NSOCK_WINCONFIG_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue