RT3031: Need to #undef some names for win32

Copy the ifdef/undef stanza from x509.h to x509v3.h

Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
(cherry picked from commit 83e4e03eeb)
This commit is contained in:
Robin Lee 2014-09-04 12:36:41 -04:00 committed by Rich Salz
parent 610ac0525d
commit 240635c0b2

View File

@ -66,6 +66,13 @@
extern "C" { extern "C" {
#endif #endif
#ifdef OPENSSL_SYS_WIN32
/* Under Win32 these are defined in wincrypt.h */
#undef X509_NAME
#undef X509_CERT_PAIR
#undef X509_EXTENSIONS
#endif
/* Forward reference */ /* Forward reference */
struct v3_ext_method; struct v3_ext_method;
struct v3_ext_ctx; struct v3_ext_ctx;