diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-06-11 09:56:52 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-06-11 09:56:52 +0000 |
commit | bdcbb4a12def8f1c1293ff4748751f3b5f4b658c (patch) | |
tree | 9f46445d8a80c2c6e492ef83e205b145ba278242 /libsylph/socket.c | |
parent | 7bdd030748133e93c99d55f3c7763526c85d666d (diff) |
win32: removed self definition of gai_strerror().
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3419 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/socket.c')
-rw-r--r-- | libsylph/socket.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libsylph/socket.c b/libsylph/socket.c index 1d9c648f..228c8db2 100644 --- a/libsylph/socket.c +++ b/libsylph/socket.c @@ -1056,16 +1056,6 @@ static void my_freeaddrinfo(struct addrinfo *res) g_free(res); } } - -/* MinGW defines gai_strerror() in ws2tcpip.h, but it is not implemented. */ -#undef gai_strerror -const gchar *gai_strerror(gint errcode) -{ - static gchar str[32]; - - g_snprintf(str, sizeof(str), "gai errcode: (%d)", errcode); - return str; -} #endif static SockDesc sock_info_connect_by_getaddrinfo(SockInfo *sockinfo) |