mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: common/retarget.cpp
- Revision:
- 63:5964504d61de
- Parent:
- 0:9b334a45a8ff
- Child:
- 84:74871d7a38d9
--- a/common/retarget.cpp Fri Feb 12 08:00:10 2016 +0000 +++ b/common/retarget.cpp Mon Feb 15 09:00:10 2016 +0000 @@ -493,10 +493,7 @@ #endif -#ifdef TOOLCHAIN_GCC_CW -// TODO: Ideally, we would like to define directly "_ExitProcess" -extern "C" void mbed_exit(int return_code) { -#elif defined TOOLCHAIN_GCC_ARM +#if defined TOOLCHAIN_GCC_ARM extern "C" void _exit(int return_code) { #else namespace std { @@ -520,7 +517,7 @@ while (1); } -#if !defined(TOOLCHAIN_GCC_ARM) && !defined(TOOLCHAIN_GCC_CW) +#if !defined(TOOLCHAIN_GCC_ARM) } //namespace std #endif