fix close and errno, disable log color by default on mingw

This commit is contained in:
U-DESKTOP-T772REH\wangyu
2018-06-19 21:29:03 +08:00
parent 8c21ff55ab
commit 4b02fdb4bd
6 changed files with 23 additions and 12 deletions

View File

@@ -30,7 +30,7 @@ void fd_manager_t::fd64_close(fd64_t fd64)
{
fd_info_mp.erase(fd64);
}
close(fd);
sock_close(fd);
}
void fd_manager_t::reserve(int n)
{