[PATCH] include: define ADDRINFOT.
2 Aug
2019
2 Aug
'19
2:20 a.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
2332
Age (days ago)
2332
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alistair Leslie-Hughes