mirror of
https://github.com/openssl/openssl.git
synced 2025-01-12 13:36:28 +08:00
build_wincrypt_test.c: Fix compilation with MSVC
Fixes issue https://github.com/openssl/openssl/issues/20805 Reviewed-by: Todd Short <todd.short@me.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20806)
This commit is contained in:
parent
dc231eb598
commit
b5a635dc21
@ -22,7 +22,11 @@
|
||||
# include <wincrypt.h>
|
||||
# ifndef X509_NAME
|
||||
# ifndef PEDANTIC
|
||||
# warning "wincrypt.h no longer defining X509_NAME before OpenSSL headers"
|
||||
# ifdef _MSC_VER
|
||||
# pragma message("wincrypt.h no longer defining X509_NAME before OpenSSL headers")
|
||||
# else
|
||||
# warning "wincrypt.h no longer defining X509_NAME before OpenSSL headers"
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user