Ver Fonte

Fixed build error on non Windows environments with OpenSSL

yhirose há 5 anos atrás
pai
commit
6cce7951fc
1 ficheiros alterados com 2 adições e 0 exclusões
  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>