summaryrefslogtreecommitdiffstats
path: root/libssh/channels.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-08-16 19:01:13 +0200
committerAndreas Schneider <mail@cynapses.org>2009-08-16 19:01:13 +0200
commit978d265da85e5cba366e75681ff1ec192affccf9 (patch)
treef249cf6b5c1985b52cda2b37bb883913a4ce9aec /libssh/channels.c
parentcf6dddce34c4ae6d7571c3f982b1e8774b73c342 (diff)
downloadlibssh-978d265da85e5cba366e75681ff1ec192affccf9.tar.gz
libssh-978d265da85e5cba366e75681ff1ec192affccf9.tar.xz
libssh-978d265da85e5cba366e75681ff1ec192affccf9.zip
Build channel_accept() on Windows too.
Diffstat (limited to 'libssh/channels.c')
-rw-r--r--libssh/channels.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index 473d1f7..6e70285 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -1503,7 +1503,6 @@ error:
return rc;
}
-#ifndef _WIN32
/**
* @brief Accept an incoming TCP/IP forwarding channel.
*
@@ -1517,7 +1516,6 @@ error:
ssh_channel channel_forward_accept(ssh_session session, int timeout_ms) {
return channel_accept(session, SSH_CHANNEL_FORWARDED_TCPIP, timeout_ms);
}
-#endif
/**
* @brief Sends the "cancel-tcpip-forward" global request to ask the server to