wincyrpt.h clashes fix, submitted by eof

This commit is contained in:
Todd A Ouska 2011-04-26 10:05:54 -07:00
parent b83862d01d
commit 5be1c4c9f3

View File

@ -41,7 +41,12 @@
#define CYASSL_VERSION "1.9.6"
#undef X509_NAME /* wincrypt.h clash */
#ifdef _WIN32
/* wincrypt.h clashes */
#undef X509_NAME
#undef OCSP_REQUEST
#undef OCSP_RESPONSE
#endif
#ifdef __cplusplus
extern "C" {