aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.h
diff options
context:
space:
mode:
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;