forked from wolfSSL/wolfssl
exclude packed __attribute__ on IAR ICC < 9
This commit is contained in:
@ -862,7 +862,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(__IAR_SYSTEMS_ICC__) || defined(__GNUC__)
|
#if (defined(__IAR_SYSTEMS_ICC__) && (__IAR_SYSTEMS_ICC__ > 8)) || \
|
||||||
|
defined(__GNUC__)
|
||||||
#define WOLFSSL_PACK __attribute__ ((packed))
|
#define WOLFSSL_PACK __attribute__ ((packed))
|
||||||
#else
|
#else
|
||||||
#define WOLFSSL_PACK
|
#define WOLFSSL_PACK
|
||||||
|
Reference in New Issue
Block a user