Only define ZLIB_SHARED if it hasn't already been defined (on the command
authorRichard Levitte <levitte@openssl.org>
Sat, 18 Jun 2005 04:32:18 +0000 (04:32 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 18 Jun 2005 04:32:18 +0000 (04:32 +0000)
line, for example).

PR: 1112

crypto/comp/c_zlib.c

index 1bd2850d15b2dd497d7ede7e46999cfd0f54e391..a896bdebd99f6f5a6fcf5ca7fec36d992c2c45ce 100644 (file)
@@ -53,7 +53,9 @@ static COMP_METHOD zlib_method={
 # include <windows.h>
 
 # 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) */