From 5e4bc6ec7947a403da3b1989c39accf16449f601 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 11 Aug 2009 15:38:49 +0200 Subject: Fix compilation with MSVC and use declspec to export functions. Thanks to Patrick Spendrin for all the MSVC fixes. --- libssh/channels.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libssh/channels.c') diff --git a/libssh/channels.c b/libssh/channels.c index c603d7ab..c006d248 100644 --- a/libssh/channels.c +++ b/libssh/channels.c @@ -1335,6 +1335,7 @@ error: return rc; } +#ifndef _WIN32 /** * @brief Accept an X11 forwarding channel. * @@ -1372,6 +1373,7 @@ ssh_channel channel_accept_x11(ssh_channel channel, int timeout_ms) { return NULL; } +#endif /** * @brief Set environement variables. -- cgit