mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Remove reduntant BEV_IS_MBEDTLS
This commit is contained in:
parent
afa66ea420
commit
39ca97ef4d
@ -313,13 +313,6 @@ extern const struct bufferevent_ops bufferevent_ops_ssl;
|
|||||||
#define BEV_IS_SSL(bevp) 0
|
#define BEV_IS_SSL(bevp) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(EVENT__HAVE_MBEDTLS)
|
|
||||||
extern const struct bufferevent_ops bufferevent_ops_mbedtls;
|
|
||||||
#define BEV_IS_MBEDTLS(bevp) ((bevp)->be_ops == &bufferevent_ops_mbedtls)
|
|
||||||
#else
|
|
||||||
#define BEV_IS_MBEDTLS(bevp) 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
extern const struct bufferevent_ops bufferevent_ops_async;
|
extern const struct bufferevent_ops bufferevent_ops_async;
|
||||||
#define BEV_IS_ASYNC(bevp) ((bevp)->be_ops == &bufferevent_ops_async)
|
#define BEV_IS_ASYNC(bevp) ((bevp)->be_ops == &bufferevent_ops_async)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user