aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
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)