From f1a4a5e6526cce40fd6158aa00bc54e0efa6029d Mon Sep 17 00:00:00 2001 From: Daniel Murdin Date: Wed, 13 Jul 2016 10:36:43 +0200 Subject: [PATCH] Weak attribute fix for TMS470 Compilers. Change-Id: I901bf192d3c06457d67c6d3a64bdb9aea22c53c2 --- src/unity_internals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unity_internals.h b/src/unity_internals.h index e46c7e2..347c315 100644 --- a/src/unity_internals.h +++ b/src/unity_internals.h @@ -344,7 +344,7 @@ extern void UNITY_OUTPUT_FLUSH(void); *-------------------------------------------------------*/ #if !defined(UNITY_WEAK_ATTRIBUTE) && !defined(UNITY_WEAK_PRAGMA) # ifdef __GNUC__ /* includes clang */ -# if !(defined(__WIN32__) && defined(__clang__)) +# if !(defined(__WIN32__) && defined(__clang__)) && !defined(__TMS470__) # define UNITY_WEAK_ATTRIBUTE __attribute__((weak)) # endif # endif -- GitLab