Only define ZLIB_SHARED if it hasn't already been defined (on the command

line, for example).

PR: 1112
This commit is contained in:
Richard Levitte 2005-06-18 04:32:12 +00:00
parent 306aae6cee
commit 283c3e2437

View File

@ -73,7 +73,9 @@ static COMP_METHOD zlib_stateful_method={
# include <windows.h> # include <windows.h>
# define Z_CALLCONV _stdcall # define Z_CALLCONV _stdcall
# define ZLIB_SHARED # ifndef ZLIB_SHARED
# define ZLIB_SHARED
# endif
#else #else
# define Z_CALLCONV # define Z_CALLCONV
#endif /* !(OPENSSL_SYS_WINDOWS || OPENSSL_SYS_WIN32) */ #endif /* !(OPENSSL_SYS_WINDOWS || OPENSSL_SYS_WIN32) */