소스 검색

Fixed build error on non Windows environments with OpenSSL

yhirose 5 년 전
부모
커밋
6cce7951fc
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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>