* include/ws2tcpip.h (gai_strerror): Add thread-safety comment.
This commit is contained in:
parent
538146072a
commit
1d975d67b1
|
@ -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>
|
2006-04-14 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
|
||||||
|
|
||||||
* include/ws2tcpip.h (gai_strerror{AW}): Implement as inline function.
|
* include/ws2tcpip.h (gai_strerror{AW}): Implement as inline function.
|
||||||
|
|
|
@ -304,6 +304,8 @@ int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,
|
||||||
/* FIXME: Need WS protocol-independent API helpers. */
|
/* FIXME: Need WS protocol-independent API helpers. */
|
||||||
#endif
|
#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*
|
static __inline char*
|
||||||
gai_strerrorA(int ecode)
|
gai_strerrorA(int ecode)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue