diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-10-27 10:37:40 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-10-27 10:37:40 +0000 |
commit | 0f7fce84ae5b325cb2e63c2cc6d9e2e87db72c07 (patch) | |
tree | e157e2717efec5c0523f9fb1164b6406e5a62d07 /libsylph | |
parent | 1eb11e809a4df81e1d031232165bc27ba2a3b86e (diff) |
libsylph/socket.c: fd_accept(): enabled on win32.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@693 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/socket.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libsylph/socket.c b/libsylph/socket.c index 433491c3..e0ca1fa5 100644 --- a/libsylph/socket.c +++ b/libsylph/socket.c @@ -336,18 +336,13 @@ gint fd_open_unix(const gchar *path) gint fd_accept(gint sock) { -#ifdef G_OS_UNIX struct sockaddr_in caddr; guint caddr_len; caddr_len = sizeof(caddr); return accept(sock, (struct sockaddr *)&caddr, &caddr_len); -#else - return -1; -#endif } - static gint set_nonblocking_mode(gint fd, gboolean nonblock) { #ifdef G_OS_UNIX |