Skip to content

Commit 87e63a0

Browse files
committed
wolfssl/wolfcrypt/wc_port.h: if WOLFSSL_ZEPHYR, don't activate WC_DEPRECATED (compat issues).
1 parent ce73c1d commit 87e63a0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

wolfssl/wolfcrypt/wc_port.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@
8383
#endif /* !WC_MAYBE_UNUSED */
8484

8585
#ifndef WC_DEPRECATED
86-
#if (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) || \
87-
defined(__IAR_SYSTEMS_ICC__)
86+
#if !defined(WOLFSSL_ZEPHYR) && \
87+
((defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) || \
88+
defined(__IAR_SYSTEMS_ICC__))
8889
#define WC_DEPRECATED __attribute__((deprecated))
8990
#else
9091
#define WC_DEPRECATED

0 commit comments

Comments
 (0)