Skip to content

Commit 8962237

Browse files
committed
Fix compile error with MBED_MEM_TRACING_ENABLED and ARMC6
1 parent c8d72c5 commit 8962237

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
@@ -1339,7 +1339,7 @@ extern "C" void __cxa_guard_abort(int *guard_object_p)
13391339

13401340
#endif
13411341

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

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

0 commit comments

Comments
 (0)