From 32c80781bf2938f00ed4cd64d0cdd3e81ec6dd81 Mon Sep 17 00:00:00 2001 From: Tesfa Mael Date: Tue, 8 Feb 2022 19:25:13 -0800 Subject: [PATCH] Prevent diab compiler from inlining functions --- wolfssl/wolfcrypt/sp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/sp.h b/wolfssl/wolfcrypt/sp.h index d6728d02e..99fb3f812 100644 --- a/wolfssl/wolfcrypt/sp.h +++ b/wolfssl/wolfcrypt/sp.h @@ -49,7 +49,7 @@ #define SP_NOINLINE __declspec(noinline) #elif defined(__ICCARM__) || defined(__IAR_SYSTEMS_ICC__) #define SP_NOINLINE _Pragma("inline = never") -#elif defined(__GNUC__) || defined(__KEIL__) +#elif defined(__GNUC__) || defined(__KEIL__) || defined(__DCC__) #define SP_NOINLINE __attribute__((noinline)) #else #define SP_NOINLINE