Module: wine Branch: master Commit: 719cc347b4db07b3f0c1cab53dfa5ea0a567f366 URL: https://source.winehq.org/git/wine.git/?a=commit;h=719cc347b4db07b3f0c1cab53...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Mon Aug 12 23:24:14 2019 +0000
include: Define ADDRINFOT explicitly.
Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
include/ws2tcpip.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/ws2tcpip.h b/include/ws2tcpip.h index b26ab2f..43c277f 100644 --- a/include/ws2tcpip.h +++ b/include/ws2tcpip.h @@ -54,8 +54,9 @@ typedef struct WS(addrinfoW) struct WS(addrinfoW)* ai_next; } ADDRINFOW, *PADDRINFOW;
-DECL_WINELIB_TYPE_AW(ADDRINFOT) -DECL_WINELIB_TYPE_AW(PADDRINFOT) +#ifndef WINE_NO_UNICODE_MACROS +typedef WINELIB_NAME_AW(ADDRINFO) ADDRINFOT, *PADDRINFOT; +#endif
#ifdef USE_WS_PREFIX typedef int WS_socklen_t;