* include/ws2tcpip.h (gai_strerror): Add thread-safety comment.

This commit is contained in:
Danny Smith 2006-04-16 08:26:59 +00:00
parent 538146072a
commit 1d975d67b1
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-04-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/ws2tcpip.h (gai_strerror): Add thread-safety comment.
2006-04-14 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/ws2tcpip.h (gai_strerror{AW}): Implement as inline function.

View File

@ -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)
{