When trying to build libuv for i686, we discovered that GetHostNameW was missing from the declared API, in https://github.com/libuv/libuv/issues/3178
Looking at the project history here, it looked like the ws2_32 file was updated for lib-common, but not lib32?
https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-gethostnamew added in Windows 8.
Looks like this will be closed by https://sourceforge.net/p/mingw-w64/mingw-w64/ci/2c0bc10db78341d28fe39deb645dcb55c05e52d7/? Thanks!