We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c9e7f40 + 15ee1ca commit 4c8c94fCopy full SHA for 4c8c94f
libraries/mbed/common/retarget.cpp
@@ -493,6 +493,7 @@ extern "C" void mbed_exit(int return_code) {
493
#elif defined TOOLCHAIN_GCC_ARM
494
extern "C" void _exit(int return_code) {
495
#else
496
+namespace std {
497
extern "C" void exit(int return_code) {
498
#endif
499
@@ -513,6 +514,10 @@ extern "C" void exit(int return_code) {
513
514
while (1);
515
}
516
517
+#if !defined(TOOLCHAIN_GCC_ARM) && !defined(TOOLCHAIN_GCC_CW)
518
+} //namespace std
519
+#endif
520
+
521
522
namespace mbed {
523
0 commit comments