Alon Bar-Lev via RT wrote:
>
> The following is required in order to make beta4 compile using mingw (w64).
>
> Every time there is #include<windows.h>  some symbols should be removed.
> Also, there is no need to #include<windows.h>  if e_os2.h was included.
[SNIP]

> diff -urNp openssl-1.0.0-beta4.org/e_os.h openssl-1.0.0-beta4/e_os.h
> --- openssl-1.0.0-beta4.org/e_os.h    2009-08-26 18:13:43.000000000 +0300
> +++ openssl-1.0.0-beta4/e_os.h        2010-01-11 17:13:08.152360026 +0200
> @@ -372,6 +372,13 @@ static unsigned int _strlen31(const char
>   #    define DEFAULT_HOME  "C:"
>   #  endif
>
> +#undef X509_NAME
> +#undef X509_EXTENSIONS
> +#undef X509_CERT_PAIR
> +#undef PKCS7_ISSUER_AND_SERIAL
> +#undef OCSP_REQUEST
> +#undef OCSP_RESPONSE

Why -DWIN32_LEAN_AND_MEAN don't work in you build ?

Roumen


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to