瀏覽代碼

fix #592 -- add check for static-linked OpenSSL (#595)

PixlRainbow 5 年之前
父節點
當前提交
5f76cb01c7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -199,7 +199,7 @@ using socket_t = int;
 #include <openssl/ssl.h>
 #include <openssl/x509v3.h>
 
-#ifdef _WIN32
+#if defined(_WIN32) && defined(OPENSSL_USE_APPLINK)
 #include <openssl/applink.c>
 #endif