From 42f335ca0ead9d2d48936c75d9e69e1162f3fb0e Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 18 Jun 2005 04:32:18 +0000 Subject: [PATCH] Only define ZLIB_SHARED if it hasn't already been defined (on the command line, for example). PR: 1112 --- crypto/comp/c_zlib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crypto/comp/c_zlib.c b/crypto/comp/c_zlib.c index 1bd2850d15..a896bdebd9 100644 --- a/crypto/comp/c_zlib.c +++ b/crypto/comp/c_zlib.c @@ -53,7 +53,9 @@ static COMP_METHOD zlib_method={ # include # define Z_CALLCONV _stdcall -# define ZLIB_SHARED +# ifndef ZLIB_SHARED +# define ZLIB_SHARED +# endif #else # define Z_CALLCONV #endif /* !(OPENSSL_SYS_WINDOWS || OPENSSL_SYS_WIN32) */ -- 2.25.1