mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +00:00
and having close() #defined to my_close() in nbase_winunix.h, I'm just defining close() to closesocket() in nbase_winunix.h and removing my_close() from winfix.cc. I'm also defining EWOULDBLOCK to WSAEWOULDBLOCK in nbase_winunix.h. Nmap builds fine with these changes, and since it's just defining close() to something that already exists, it shouldn't negatively affect other branches. These are things I noticed while trying to cleanly "re-port" Ncat to VC++2008.
9.7 KiB
9.7 KiB