aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-09-23 22:54:33 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2011-09-23 22:57:21 +0200
commit6859e4f4ecf6aae135dc54ea2ec74f9405a78360 (patch)
treebe9901e69feb47d304ce3697bc110dd55c8a032f /src/misc.c
parent43fc7553f898c03bf95ac9fc0a2294e319ededa4 (diff)
downloadlibssh-6859e4f4ecf6aae135dc54ea2ec74f9405a78360.tar.gz
libssh-6859e4f4ecf6aae135dc54ea2ec74f9405a78360.tar.xz
libssh-6859e4f4ecf6aae135dc54ea2ec74f9405a78360.zip
build: Fix zlib support.
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/misc.c b/src/misc.c
index b128e5ea..6d3ccde1 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -80,10 +80,10 @@
#define CRYPTO_STRING ""
#endif
-#ifdef WITH_LIBZ
-#define LIBZ_STRING "/zlib"
+#ifdef WITH_ZLIB
+#define ZLIB_STRING "/zlib"
#else
-#define LIBZ_STRING ""
+#define ZLIB_STRING ""
#endif
/**
@@ -357,7 +357,7 @@ char *ssh_hostport(const char *host, int port){
const char *ssh_version(int req_version) {
if (req_version <= LIBSSH_VERSION_INT) {
return SSH_STRINGIFY(LIBSSH_VERSION) GCRYPT_STRING CRYPTO_STRING
- LIBZ_STRING;
+ ZLIB_STRING;
}
return NULL;