On Mon, 1 Aug 2022, LIU Hao wrote:
在 2022-07-23 22:15, LIU Hao 写道:
0001-include-ws2tcpip-Rectify-addrinfoexA-and-addrinfoexW.patch
From 5f09ab25221dd8ad8459bc560168ce83c70f93c1 Mon Sep 17 00:00:00 2001
From: LIU Hao<[email protected]>
Date: Sat, 23 Jul 2022 22:09:21 +0800
Subject: [PATCH] include/ws2tcpip: Rectify `addrinfoexA` and
`addrinfoexW`
We should use the same identifiers as in Windows SDK, where the `ex` is
spelled in lowercase. The macro `addrinfoEx` doesn't exist there;
although
I am not sure why it was added, it can't match the struct tag anyway,
so
remove it.
Reported-by:https://github.com/mingw-w64/mingw-w64/issues/9
Signed-off-by: LIU Hao<[email protected]>
---
mingw-w64-headers/include/ws2tcpip.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Ping?
LGTM. I presume the nonstandard names aren't really used anywhere in the
wild (can we google it easily somehow?) so this doesn't break anything in
practice? Or would we need to add fallback defines for the old wrong
names?
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public