[PATCH] include: define ADDRINFOT.
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Thu Aug 1 21:20:33 CDT 2019
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at 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
More information about the wine-devel
mailing list