diff --git a/patches/windows_headers.patch b/patches/windows_headers.patch index 5d216fb..49e2a97 100644 --- a/patches/windows_headers.patch +++ b/patches/windows_headers.patch @@ -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")