From 39d0b57ebff9b9a710c9a56eb0f99675de8fbc73 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 29 Nov 2008 17:45:16 +0000 Subject: Further adjust a libssh2 preprocessor function-symbol definition check --- lib/ssh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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; -- cgit v1.2.3