windows build fix

This commit is contained in:
Chris Conlon 2012-05-21 15:13:11 -06:00
parent 2b6044c6ee
commit 4c79ac1f88
2 changed files with 6 additions and 2 deletions

View File

@ -37,8 +37,6 @@
#ifdef _WIN32 #ifdef _WIN32
/* wincrypt.h clashes */ /* wincrypt.h clashes */
#undef X509_NAME #undef X509_NAME
#undef OCSP_REQUEST
#undef OCSP_RESPONSE
#endif #endif

View File

@ -43,6 +43,12 @@
#define CYASSL_VERSION LIBCYASSL_VERSION_STRING #define CYASSL_VERSION LIBCYASSL_VERSION_STRING
#endif #endif
#ifdef _WIN32
/* wincrypt.h clashes */
#undef OCSP_REQUEST
#undef OCSP_RESPONSE
#endif
#ifdef __cplusplus #ifdef __cplusplus