Explorar el Código

Fixed build error on non Windows environments with OpenSSL

yhirose hace 5 años
padre
commit
6cce7951fc
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      httplib.h

+ 2 - 0
httplib.h

@@ -196,7 +196,9 @@ using socket_t = int;
 #include <openssl/ssl.h>
 #include <openssl/x509v3.h>
 
+#ifdef _WIN32
 #include <openssl/applink.c>
+#endif
 
 #include <iomanip>
 #include <iostream>