Suppress "overriding WinCrypt defines" warnings
Suppress "overriding WinCrypt defines" from openssl/x509.h by defining `NOCRYPT`.
Only this file does not check `__WINCRYPT_H__` macro like other headers, since
5d8a1cf715 (diff-74b6370bc092dd2988ab577b2eaa21dcR7)
This commit is contained in:
parent
f30569c005
commit
3e95275de8
@ -81,7 +81,7 @@ diff -u include/openssl.orig/x509.h include/openssl/x509.h
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
+#if defined(_WIN32)
|
||||
+#if defined(_WIN32) && defined(__WINCRYPT_H__)
|
||||
+#ifndef LIBRESSL_INTERNAL
|
||||
+#ifdef _MSC_VER
|
||||
+#pragma message("Warning, overriding WinCrypt defines")
|
||||
|
Loading…
x
Reference in New Issue
Block a user