1 Aug
2019
1 Aug
'19
9:20 p.m.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- include/ws2tcpip.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/ws2tcpip.h b/include/ws2tcpip.h index ea19ee39ca..3267188de1 100644 --- a/include/ws2tcpip.h +++ b/include/ws2tcpip.h @@ -54,6 +54,12 @@ typedef struct WS(addrinfoW) struct WS(addrinfoW)* ai_next; } ADDRINFOW, *PADDRINFOW; +#ifdef UNICODE +typedef ADDRINFOW ADDRINFOT, *PADDRINFOT; +#else +typedef ADDRINFOA ADDRINFOT, *PADDRINFOT; +#endif + #ifdef USE_WS_PREFIX typedef int WS_socklen_t; #else -- 2.17.1