You've already forked cpp-httplib
Removed automatic inclution of <openssl/ssl.h> with '__has_incude'
This commit is contained in:
@ -58,14 +58,6 @@ typedef int socket_t;
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <assert.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
|
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
|
||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user