提交 f1a4a5e6 编写于 作者: D Daniel Murdin

Weak attribute fix for TMS470 Compilers.

Change-Id: I901bf192d3c06457d67c6d3a64bdb9aea22c53c2
上级 b3bc196a
...@@ -344,7 +344,7 @@ extern void UNITY_OUTPUT_FLUSH(void); ...@@ -344,7 +344,7 @@ extern void UNITY_OUTPUT_FLUSH(void);
*-------------------------------------------------------*/ *-------------------------------------------------------*/
#if !defined(UNITY_WEAK_ATTRIBUTE) && !defined(UNITY_WEAK_PRAGMA) #if !defined(UNITY_WEAK_ATTRIBUTE) && !defined(UNITY_WEAK_PRAGMA)
# ifdef __GNUC__ /* includes clang */ # ifdef __GNUC__ /* includes clang */
# if !(defined(__WIN32__) && defined(__clang__)) # if !(defined(__WIN32__) && defined(__clang__)) && !defined(__TMS470__)
# define UNITY_WEAK_ATTRIBUTE __attribute__((weak)) # define UNITY_WEAK_ATTRIBUTE __attribute__((weak))
# endif # endif
# endif # endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册