summaryrefslogtreecommitdiff
path: root/lib/ssh.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-11-29 17:45:16 +0000
committerYang Tse <yangsita@gmail.com>2008-11-29 17:45:16 +0000
commit39d0b57ebff9b9a710c9a56eb0f99675de8fbc73 (patch)
treeed2e2391b409997aae261fa5efc9f657408a3944 /lib/ssh.h
parentc036f6ae2da0395a633dc1d11b68879fd6795e19 (diff)
downloadcurl-39d0b57ebff9b9a710c9a56eb0f99675de8fbc73.tar.gz
Further adjust a libssh2 preprocessor function-symbol definition check
Diffstat (limited to 'lib/ssh.h')
-rw-r--r--lib/ssh.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssh.h b/lib/ssh.h
index 48612245f..a8a9f5267 100644
--- a/lib/ssh.h
+++ b/lib/ssh.h
@@ -30,9 +30,9 @@
#endif
#if (LIBSSH2_VERSION_NUM >= 0x001300)
-# ifndef HAVE_LIBSSH2_SESSION_BLOCK_DIRECTIONS
-# define HAVE_LIBSSH2_SESSION_BLOCK_DIRECTIONS 1
-# endif
+# define HAVE_LIBSSH2_SESSION_BLOCK_DIRECTIONS 1
+#else
+# undef HAVE_LIBSSH2_SESSION_BLOCK_DIRECTIONS
#endif
extern const struct Curl_handler Curl_handler_scp;