diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-09-23 22:54:33 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-09-23 22:57:21 +0200 |
commit | 6859e4f4ecf6aae135dc54ea2ec74f9405a78360 (patch) | |
tree | be9901e69feb47d304ce3697bc110dd55c8a032f /src/misc.c | |
parent | 43fc7553f898c03bf95ac9fc0a2294e319ededa4 (diff) | |
download | libssh-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |