We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a103f5a commit 1484fb5Copy full SHA for 1484fb5
wolfssl/wolfcrypt/types.h
@@ -1233,7 +1233,7 @@ binding for XSNPRINTF
1233
#ifndef WC_OFFSETOF
1234
#if defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 4))
1235
#define WC_OFFSETOF(type, field) __builtin_offsetof(type, field)
1236
- #elif defined(__WATCOMC__)
+ #elif defined(__WATCOMC__) || defined(__IAR_SYSTEMS_ICC__)
1237
#include <stddef.h>
1238
#define WC_OFFSETOF offsetof
1239
#else
0 commit comments