kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #24785
[PATCH 09/12] Narrow assumption on OpenSSL use
CURL on Windows uses OpenSSL on MSYS, and SChannel on MSVC.
---
common/kicad_curl/kicad_curl.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/kicad_curl/kicad_curl.cpp b/common/kicad_curl/kicad_curl.cpp
index a5670a7..fb4413c 100644
--- a/common/kicad_curl/kicad_curl.cpp
+++ b/common/kicad_curl/kicad_curl.cpp
@@ -45,7 +45,7 @@ static volatile bool s_initialized;
static MUTEX s_lock; // for s_initialized
// Assume that on these platforms libcurl uses OpenSSL
-#if defined(__linux__) || defined(_WIN32)
+#if defined(__linux__) || defined(__MINGW32__)
#include <openssl/crypto.h>
Follow ups
References