wolfssl/wolfcrypt/wc_port.h: if WOLFSSL_ZEPHYR, don't activate WC_DEPRECATED (compat issues).

pull/8628/head
Daniel Pouzzner 2025-04-02 19:11:39 -05:00
parent ce73c1dfd1
commit 87e63a0f21
1 changed files with 3 additions and 2 deletions

View File

@ -83,8 +83,9 @@
#endif /* !WC_MAYBE_UNUSED */
#ifndef WC_DEPRECATED
#if (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) || \
defined(__IAR_SYSTEMS_ICC__)
#if !defined(WOLFSSL_ZEPHYR) && \
((defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) || \
defined(__IAR_SYSTEMS_ICC__))
#define WC_DEPRECATED __attribute__((deprecated))
#else
#define WC_DEPRECATED