From 1d975d67b1247031a73dfb40e4095c44dbe22d9c Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Sun, 16 Apr 2006 08:26:59 +0000 Subject: * include/ws2tcpip.h (gai_strerror): Add thread-safety comment. --- winsup/w32api/include/ws2tcpip.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/w32api/include/ws2tcpip.h') diff --git a/winsup/w32api/include/ws2tcpip.h b/winsup/w32api/include/ws2tcpip.h index 6ae0ea50d..3b68b3df1 100644 --- a/winsup/w32api/include/ws2tcpip.h +++ b/winsup/w32api/include/ws2tcpip.h @@ -304,6 +304,8 @@ int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD, /* FIXME: Need WS protocol-independent API helpers. */ #endif +/* One might well ask if gai_strerror has been ripped from MS Platform SDK + headers. It is obviously not thread-safe. */ static __inline char* gai_strerrorA(int ecode) { -- cgit v1.2.3