Browse Source

Fixed build error on non Windows environments with OpenSSL

yhirose 5 năm trước cách đây
mục cha
commit
6cce7951fc
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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>