-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings,

One of my cow-orkers is getting this:

d:\3rdparty\ssleay-0.8.1\include\x509.h(136) : error C2226: syntax
error : unexpected type 'LPCSTR'
d:\3rdparty\ssleay-0.8.1\include\x509.h(159) : error C2226: syntax
error : unexpected type 'LPCSTR'
d:\3rdparty\ssleay-0.8.1\include\x509.h(159) : error C2238: unexpected
token(s) preceding ';'

When building somne stuff with x509.h included. It seems that MS V++
6.0 has these types already defined in one ot its headers. We can
bodge it by #undef-ing the appropriate types before we include
x509.h... hang on my Orker of Cows now tells me that we can fix it by
doing this:

In the project's settings, add NOCRYPT to the preprocessor
definitions, this will prevent <wincrypt.h> being included from
<windows.h>.

Snippet of <windows.h>:

#ifndef NOCRYPT
#include <wincrypt.h>
#endif

Sigh. Panic over.

Jon

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0.2i

iQA/AwUBNu0P2XgWiDO86u4+EQLQ8gCg2M8DnXUOjaUSrDL2FIQFBmvAxVIAnRcI
iZOdSjjDopbgZ2fjoHglD3GI
=XiJ5
-----END PGP SIGNATURE-----
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to