mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Removed automatic inclution of <openssl/ssl.h> with '__has_incude'
This commit is contained in:
parent
61d800053e
commit
38bbe4ec4c
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue