mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
openssl3: change deprecated warnings suppression
This commit is contained in:
parent
937a8db996
commit
12250cf3ef
2 changed files with 4 additions and 4 deletions
|
@ -41,10 +41,6 @@ extern "C" {
|
||||||
|
|
||||||
#include "lws_config.h"
|
#include "lws_config.h"
|
||||||
|
|
||||||
#if defined(LWS_SUPPRESS_DEPRECATED_API_WARNINGS)
|
|
||||||
#define OPENSSL_USE_DEPRECATED
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* place for one-shot opaque forward references */
|
/* place for one-shot opaque forward references */
|
||||||
|
|
||||||
typedef struct lws_context * lws_ctx_t;
|
typedef struct lws_context * lws_ctx_t;
|
||||||
|
|
|
@ -34,6 +34,10 @@
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(LWS_SUPPRESS_DEPRECATED_API_WARNINGS)
|
||||||
|
#define OPENSSL_SUPPRESS_DEPRECATED
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#if !defined(_POSIX_C_SOURCE)
|
#if !defined(_POSIX_C_SOURCE)
|
||||||
#define _POSIX_C_SOURCE 200112L
|
#define _POSIX_C_SOURCE 200112L
|
||||||
|
|
Loading…
Add table
Reference in a new issue