Weak attribute fix for TMS470 Compilers.

Change-Id: I901bf192d3c06457d67c6d3a64bdb9aea22c53c2
This commit is contained in:
Daniel Murdin
2016-07-13 10:36:43 +02:00
parent b3bc196ab3
commit f1a4a5e652

View File

@ -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