Преглед изворни кода

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