Hi Alon, Alon Bar-Lev via RT wrote: > Hello, > > I use i686-w64-mingw32... > We discussed this in past (I think) LEAN_AND_MEAN was added to win64 > but not win32. > > As w64 compiler much more complete and maintained I use it to compile > win32 as-well. > > Alon. > > On Tue, Jan 12, 2010 at 11:14 PM, Roumen Petrov via RT<r...@openssl.org> > wrote: >> 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
Did you upgrade ? Lets check Configure updates: ----- ... revision 1.655 date: 2009/12/30 11:46:53; author: appro; state: Exp; lines: +1 -1 Adapt mingw config for newer mingw environment. Note modified conditional compilation in e_capi.c. PR: 2113 .... ----- Roumen ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org