1
0
Fork 0
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:
Dmitry Potapov 2022-09-15 13:26:38 +03:00 committed by Andy Green
parent fc58ddbdb1
commit bfbd80967a
2 changed files with 4 additions and 4 deletions

View file

@ -47,10 +47,6 @@ extern "C" {
#include <stdlib.h>
#if defined(LWS_SUPPRESS_DEPRECATED_API_WARNINGS)
#define OPENSSL_USE_DEPRECATED
#endif
/* place for one-shot opaque forward references */
typedef struct lws_context * lws_ctx_t;

View file

@ -34,6 +34,10 @@
#define _GNU_SOURCE
#endif
#if defined(LWS_SUPPRESS_DEPRECATED_API_WARNINGS)
#define OPENSSL_SUPPRESS_DEPRECATED
#endif
/*
#if !defined(_POSIX_C_SOURCE)
#define _POSIX_C_SOURCE 200112L