exclude packed __attribute__ on IAR ICC < 9

This commit is contained in:
Chris Conlon
2019-10-18 16:33:01 -06:00
parent c18ff36959
commit 42ddd63952

View File

@ -862,7 +862,8 @@
#endif
#if defined(__IAR_SYSTEMS_ICC__) || defined(__GNUC__)
#if (defined(__IAR_SYSTEMS_ICC__) && (__IAR_SYSTEMS_ICC__ > 8)) || \
defined(__GNUC__)
#define WOLFSSL_PACK __attribute__ ((packed))
#else
#define WOLFSSL_PACK