GameNetworkingSockets
GameNetworkingSockets copied to clipboard
build: Compilation fixes for MinGW toolchain
This changeset incorporates a few fixes for build errors and warnings found when building GNS via llvm-mingw toolchain:
- TraceLoggingProvider: Disable for MinGW builds (MinGW-provided winapi headers differ from original WinSDK headers a lot, which poses a problem when trying to compile TraceLoggingProvider code)
- build: Fix compilation errors for
cmsghdr-related things in MinGW builds (MinGW requires to include a different header file + need to alias WSACMSGHDR* to CMSGHDR/cmsghdr to avoid compilation errors) - SteamNetworkingIPAddr: fix potentially dangerous
-wcast-alignwarning inIsIPv6AllZeroes()