1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 08:25:58 +01:00

Merge pull request #204 from dmurdin/tms470

Weak attribute fix for TMS470 Compilers.
This commit is contained in:
Mark VanderVoord
2016-07-13 06:49:48 -04:00
committed by GitHub

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