On 10/22/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > > > 5. Added -DWIN32_LEAN_AND_MEAN and drop the conflict undef of x509.h > > > While I don't mind having to compile the library itself with "special" > flags, the above implies that every _user_ of OpenSSL who includes > x509.h has to either use -DWIN32_LEAN_AND_MEAN as well or that he is > going to have to add those undefs himself, so IMHO this is something > which really should be done by openssl headers themselves, even if > that means a bit more work and occassionally doesn't work (i.e. when > MS adds yet another conflicting definition to their headers...). >
Hi! This is somewhat impossible... as if the user will include windows.h before this header the conflict will arise. I believe that documentation should state that there may be a conflict and recommend using the WIN32_LEAN_AND_MEAN. While OpenSSL should be compiled with WIN32_LEAN_AND_MEAN. But let's drop it for now, I only wished to fix mingw breakage with latest snapshots. Thanks, Alon. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]