From: Richard Levitte Date: Sat, 18 Jun 2005 04:32:23 +0000 (+0000) Subject: Only define ZLIB_SHARED if it hasn't already been defined (on the command X-Git-Tag: OpenSSL_0_9_8-beta6~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=14557c8be4ab126174d6575191f0b3bb086eefb0;p=oweals%2Fopenssl.git Only define ZLIB_SHARED if it hasn't already been defined (on the command line, for example). PR: 1112 --- diff --git a/crypto/comp/c_zlib.c b/crypto/comp/c_zlib.c index 171fa5b86b..8263f7315d 100644 --- a/crypto/comp/c_zlib.c +++ b/crypto/comp/c_zlib.c @@ -73,7 +73,9 @@ static COMP_METHOD zlib_stateful_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) */