Skip to content

Commit

Permalink
lib/errno.h: fix compile error
Browse files Browse the repository at this point in the history
lib/errno.h: delete defined(__arm__) for use GCC compile

Signed-off-by: Yongrong Wang <[email protected]>
  • Loading branch information
wyr-7 committed Oct 10, 2024
1 parent a4bce35 commit d9ab2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#if defined(__ICCARM__)
# include <metal/compiler/iar/errno.h>
#elif defined(__CC_ARM) || defined(__arm__)
#elif defined(__CC_ARM)
# include <metal/compiler/armcc/errno.h>
#else
# include <errno.h>
Expand Down

0 comments on commit d9ab2f1

Please sign in to comment.