Bläddra i källkod

Fixed build error on non Windows environments with OpenSSL

yhirose 5 år sedan
förälder
incheckning
6cce7951fc
1 ändrade filer med 2 tillägg och 0 borttagningar
  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>