mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 22:19:03 +00:00
Allow use of Windows' own inet_pton and inet_ntop functions
This commit is contained in:
@@ -152,6 +152,12 @@
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
/* #define HAVE_INTTYPES_H */
|
||||
|
||||
/* These functions are available on Vista and later */
|
||||
#if defined(_WIN32_WINNT) && _WIN32_WINNT >= _WIN32_WINNT_WIN6
|
||||
#define HAVE_INET_PTON 1
|
||||
#define HAVE_INET_NTOP 1
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
/* <wspiapi.h> only comes with Visual Studio. */
|
||||
#define HAVE_WSPIAPI_H 1
|
||||
|
||||
Reference in New Issue
Block a user