mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 03:09:16 +08:00
[ci]:add armclang BSP build coverage (#11577)
* ci: add armclang BSP build coverage * components/libc: avoid armclang errno include recursion
This commit is contained in:
@@ -38,8 +38,30 @@ defined in armcc/errno.h
|
||||
#define ERROR_BASE_NO 0
|
||||
#endif
|
||||
|
||||
#if defined(__ARMCC_VERSION) || defined(__IAR_SYSTEMS_ICC__)
|
||||
#if defined(__ARMCC_VERSION)
|
||||
#ifndef EDOM
|
||||
#define EDOM 1
|
||||
#endif
|
||||
#ifndef ERANGE
|
||||
#define ERANGE 2
|
||||
#endif
|
||||
#ifndef ESIGNUM
|
||||
#define ESIGNUM 3
|
||||
#endif
|
||||
#ifndef EILSEQ
|
||||
#define EILSEQ 4
|
||||
#endif
|
||||
#ifndef EINVAL
|
||||
#define EINVAL 5
|
||||
#endif
|
||||
#ifndef ENOMEM
|
||||
#define ENOMEM 6
|
||||
#endif
|
||||
#elif defined(__IAR_SYSTEMS_ICC__)
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
#if defined(__ARMCC_VERSION) || defined(__IAR_SYSTEMS_ICC__)
|
||||
|
||||
#ifndef EPERM
|
||||
#define EPERM (ERROR_BASE_NO + 1)
|
||||
|
||||
Reference in New Issue
Block a user