mbed library sources
Dependents: Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more
Superseded
This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.
Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.
If you are looking for a stable and tested release, please import one of the official mbed library releases:
Import librarymbed
The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Diff: common/retarget.cpp
- Revision:
- 476:4dac56e9ae44
- Parent:
- 473:44b5a0bc6da6
- Child:
- 482:d9a48e768ce0
--- a/common/retarget.cpp Mon Feb 16 08:45:06 2015 +0000 +++ b/common/retarget.cpp Mon Feb 16 10:30:07 2015 +0000 @@ -493,6 +493,7 @@ #elif defined TOOLCHAIN_GCC_ARM extern "C" void _exit(int return_code) { #else +namespace std { extern "C" void exit(int return_code) { #endif @@ -513,6 +514,10 @@ while (1); } +#if !defined(TOOLCHAIN_GCC_ARM) && !defined(TOOLCHAIN_GCC_CW) +} //namespace std +#endif + namespace mbed {