[PATCH 5/5] include: Forbid using unsuffixed gai_strerror() in the Wine source.

Zebediah Figura z.figura12 at gmail.com
Tue Apr 27 11:07:23 CDT 2021


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 include/ws2tcpip.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/ws2tcpip.h b/include/ws2tcpip.h
index 5ba891185b5..f6f5d4dd886 100644
--- a/include/ws2tcpip.h
+++ b/include/ws2tcpip.h
@@ -167,8 +167,6 @@ static inline WCHAR *gai_strerrorW(int errcode)
 
 #ifdef USE_WS_PREFIX
 # define WS_gai_strerror WINELIB_NAME_AW(gai_strerror)
-#elif defined(WINE_NO_UNICODE_MACROS)
-# define gai_strerror gai_strerrorA
 #else
 # define gai_strerror WINELIB_NAME_AW(gai_strerror)
 #endif
-- 
2.30.2




More information about the wine-devel mailing list