#ifdef G_OS_WIN32
/* This is copied straight from giowin32.c, but its static there... */
-/* Is there another way to get this functionality? */
+/* TODO: is there another way to get this functionality? or maybe make this public? */
static char *
winsock_error_message (int number)
{
}
#endif
+#if !defined(HAVE_GETADDRINFO)
static void
g_set_error_from_last_error (GError **error)
{
g_set_error (error, G_IO_ERROR, code, hstrerror (err));
#endif
}
+#endif
#if !defined(HAVE_GETADDRINFO)
static GList *
}
typedef struct {
- GList *list;
+ GList *list;
const gchar *host;
} ResolveListData;