aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-06-11 09:56:52 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-06-11 09:56:52 +0000
commitbdcbb4a12def8f1c1293ff4748751f3b5f4b658c (patch)
tree9f46445d8a80c2c6e492ef83e205b145ba278242 /libsylph
parent7bdd030748133e93c99d55f3c7763526c85d666d (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')
-rw-r--r--libsylph/socket.c10
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)