Correct semihosting check for ARMC6

pull/4949/head
Jimmy Brisson 2017-08-29 15:50:17 -05:00
parent 4da4c1f5ce
commit b22a174c39
1 changed files with 1 additions and 1 deletions

View File

@ -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) {