mirror of https://github.com/ARMmbed/mbed-os.git
Correct semihosting check for ARMC6
parent
4da4c1f5ce
commit
b22a174c39
|
@ -28,7 +28,7 @@ extern "C" {
|
||||||
|
|
||||||
#if DEVICE_SEMIHOST
|
#if DEVICE_SEMIHOST
|
||||||
|
|
||||||
#ifndef __CC_ARM
|
#if !defined(__CC_ARM) && !defined(__ARMCC_VERSION)
|
||||||
|
|
||||||
#if defined(__ICCARM__)
|
#if defined(__ICCARM__)
|
||||||
static inline int __semihost(int reason, const void *arg) {
|
static inline int __semihost(int reason, const void *arg) {
|
||||||
|
|
Loading…
Reference in New Issue