mirror of
https://github.com/nmap/nmap.git
synced 2026-07-12 03:05:21 +00:00
Add define for SHUT_WR on Windows.
The same as was applied for a similar change in r29743.
This commit is contained in:
parent
48e94596af
commit
2ffd03dfc3
1 changed files with 8 additions and 0 deletions
|
|
@ -119,6 +119,14 @@
|
|||
#include <openssl/err.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
/* Define missing constant for shutdown(2).
|
||||
* See:
|
||||
* http://msdn.microsoft.com/en-us/library/windows/desktop/ms740481%28v=vs.85%29.aspx
|
||||
*/
|
||||
#define SHUT_WR SD_SEND
|
||||
#endif
|
||||
|
||||
/* read_fds is the clients we are accepting data from. broadcast_fds is the
|
||||
clients were are sending data to. broadcast_fds doesn't include the listening
|
||||
socket and stdin. Network clients are not added to read_fds when --send-only
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue