Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
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


