fix IAR compiler error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2434 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com 2012-11-23 02:41:44 +00:00
parent 44eaae8c80
commit 0cdbd69d56
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@
* fix gcc compiling issue. * fix gcc compiling issue.
* 2010-04-15 Bernard remove weak definition on ICCM16C compiler * 2010-04-15 Bernard remove weak definition on ICCM16C compiler
* 2012-07-18 Arda add the alignment display for signed integer * 2012-07-18 Arda add the alignment display for signed integer
* 2012-11-23 Bernard fix IAR compiler error.
*/ */
#include <rtthread.h> #include <rtthread.h>
@ -1055,6 +1056,7 @@ __weak void rt_hw_console_output(const char *str)
#if __VER__ > 540 #if __VER__ > 540
__weak __weak
#endif #endif
void rt_hw_console_output(const char *str)
#else #else
void rt_hw_console_output(const char *str) void rt_hw_console_output(const char *str)
#endif #endif