forked from wolfSSL/wolfssl
wolfssl/wolfcrypt/wc_port.h: if WOLFSSL_ZEPHYR, don't activate WC_DEPRECATED (compat issues).
This commit is contained in:
@@ -83,8 +83,9 @@
|
|||||||
#endif /* !WC_MAYBE_UNUSED */
|
#endif /* !WC_MAYBE_UNUSED */
|
||||||
|
|
||||||
#ifndef WC_DEPRECATED
|
#ifndef WC_DEPRECATED
|
||||||
#if (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) || \
|
#if !defined(WOLFSSL_ZEPHYR) && \
|
||||||
defined(__IAR_SYSTEMS_ICC__)
|
((defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) || \
|
||||||
|
defined(__IAR_SYSTEMS_ICC__))
|
||||||
#define WC_DEPRECATED __attribute__((deprecated))
|
#define WC_DEPRECATED __attribute__((deprecated))
|
||||||
#else
|
#else
|
||||||
#define WC_DEPRECATED
|
#define WC_DEPRECATED
|
||||||
|
Reference in New Issue
Block a user