Zebediah Figura : include: Forbid using unsuffixed gai_strerror() in the Wine source.

Alexandre Julliard julliard at winehq.org
Tue Apr 27 16:09:00 CDT 2021


Module: wine
Branch: master
Commit: 56b9a72f649f61d1c7bc5ff424338137655f7e3d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=56b9a72f649f61d1c7bc5ff424338137655f7e3d

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Tue Apr 27 11:07:23 2021 -0500

include: Forbid using unsuffixed gai_strerror() in the Wine source.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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




More information about the wine-cvs mailing list