We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 157753d commit 0e1573aCopy full SHA for 0e1573a
1 file changed
wolfssl/wolfcrypt/wc_port.h
@@ -1183,8 +1183,12 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
1183
#ifdef WOLF_C99
1184
/* use alternate keyword for compatibility with -std=c99 */
1185
#define XASM_VOLATILE(a) __asm__ volatile(a)
1186
-#else
+#elif defined(__IAR_SYSTEMS_ICC__)
1187
#define XASM_VOLATILE(a) asm volatile(a)
1188
+#elif defined(__KEIL__)
1189
+ #define XASM_VOLATILE(a) __asm volatile(a)
1190
+#else
1191
+ #define XASM_VOLATILE(a) __asm__ __volatile__(a)
1192
#endif
1193
1194
#ifndef WOLFSSL_NO_FENCE
0 commit comments