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:23 +0000 (04:32 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 18 Jun 2005 04:32:23 +0000 (04:32 +0000)
line, for example).

PR: 1112

crypto/comp/c_zlib.c

index 171fa5b86b33b3833b232e50ecc90e9adaa28537..8263f7315d567bf11e0c61de6581908d8ddc7cf8 100644 (file)
@@ -73,7 +73,9 @@ static COMP_METHOD zlib_stateful_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) */