瀏覽代碼

Removed automatic inclution of <openssl/ssl.h> with '__has_incude'

yhirose 8 年之前
父節點
當前提交
38bbe4ec4c
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      httplib.h

+ 0 - 8
httplib.h

@@ -58,14 +58,6 @@ typedef int socket_t;
 #include <sys/stat.h>
 #include <assert.h>
 
-#ifdef __has_include
-#if __has_include(<openssl/ssl.h>)
-#ifndef CPPHTTPLIB_OPENSSL_SUPPORT
-#define CPPHTTPLIB_OPENSSL_SUPPORT
-#endif
-#endif
-#endif
-
 #ifdef CPPHTTPLIB_OPENSSL_SUPPORT
 #include <openssl/ssl.h>
 #endif