forked from wolfSSL/wolfssl
IAR inlining and enum warning off
This commit is contained in:
@@ -164,6 +164,10 @@
|
||||
#endif
|
||||
#define CYASSL_LWIP
|
||||
#define CYASSL_SAFERTOS
|
||||
#if defined(__IAR_SYSTEMS_ICC__)
|
||||
/* enum uses enum */
|
||||
#pragma diag_suppress=Pa089
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CYASSL_SAFERTOS
|
||||
|
@@ -108,6 +108,8 @@ enum {
|
||||
#define INLINE inline
|
||||
#elif defined(THREADX)
|
||||
#define INLINE _Inline
|
||||
#elif defined(__IAR_SYSTEMS_ICC__)
|
||||
#define INLINE inline
|
||||
#else
|
||||
#define INLINE
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user