wincyrpt.h clashes fix, submitted by eof

pull/1/head
Todd A Ouska 2011-04-26 10:05:54 -07:00
parent b83862d01d
commit 5be1c4c9f3
1 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,12 @@
#define CYASSL_VERSION "1.9.6" #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 #ifdef __cplusplus
extern "C" { extern "C" {