aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-04 14:18:07 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-04 14:18:07 +0000
commit19cf44b979ca6d0c69aef9a4524d876fafc0fb25 (patch)
treed01702d6085297480c0bde7133d260349d1efa2a /src/socket.h
parent4f46088c4704534c10487323e0bc0b9d73491b81 (diff)
braced some Unix-specific code with ifdef.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@467 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h
index 60ee30fc..3865970b 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -79,9 +79,11 @@ guint sock_add_watch (SockInfo *sock, GIOCondition condition,
struct hostent *my_gethostbyname (const gchar *hostname);
SockInfo *sock_connect (const gchar *hostname, gushort port);
+#ifdef G_OS_UNIX
gint sock_connect_async (const gchar *hostname, gushort port,
SockConnectFunc func, gpointer data);
gint sock_connect_async_cancel (gint id);
+#endif
/* Basic I/O functions */
gint sock_printf (SockInfo *sock, const gchar *format, ...)