Skip to content

Commit 62604bb

Browse files
ccli8adbridge
authored andcommitted
Fix compile error with MBED_MEM_TRACING_ENABLED and ARMC6
1 parent ea81d4b commit 62604bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/mbed_retarget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@ extern "C" void __cxa_guard_abort(int *guard_object_p)
13741374

13751375
#endif
13761376

1377-
#if defined(MBED_MEM_TRACING_ENABLED) && (defined(__CC_ARM) || defined(__ICCARM__))
1377+
#if defined(MBED_MEM_TRACING_ENABLED) && (defined(__CC_ARM) || defined(__ICCARM__) || (defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)))
13781378

13791379
// If the memory tracing is enabled, the wrappers in mbed_alloc_wrappers.cpp
13801380
// provide the implementation for these. Note: this needs to use the wrappers

0 commit comments

Comments
 (0)