mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-02 17:28:30 +00:00
Add libresolv from Musl Libc
Locally modified to get nameservers from Windows Registry when `\etc\resolv.conf` isn't defined.
This commit is contained in:
parent
8874a37abc
commit
1a96de6eda
36 changed files with 2313 additions and 73 deletions
|
@ -46,7 +46,7 @@ textwindows int WSARecv(
|
|||
// be NULL only if the lpOverlapped parameter is not NULL.
|
||||
unassert(!opt_out_lpNumberOfBytesRecvd);
|
||||
}
|
||||
#if defined(SYSDEBUG) && _NTTRACE
|
||||
#if SYSDEBUG && _NTTRACE
|
||||
uint32_t NumberOfBytesRecvd;
|
||||
if (opt_out_lpNumberOfBytesRecvd) {
|
||||
NumberOfBytesRecvd = *opt_out_lpNumberOfBytesRecvd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue