libc: add support for risc v
Change-Id: Iaaf87ef48057c52478816771836d8d40b2b05554 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
67dcd1b0b0
commit
9f418fe944
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,8 @@ typedef int ssize_t;
|
|||
typedef int ssize_t;
|
||||
#elif defined(__NIOS2__)
|
||||
typedef int ssize_t;
|
||||
#elif defined(__riscv__)
|
||||
typedef int ssize_t;
|
||||
#else
|
||||
#error "The minimal libc library does not recognize the architecture!\n"
|
||||
#endif
|
||||
|
@ -45,6 +47,8 @@ typedef int off_t;
|
|||
typedef int off_t;
|
||||
#elif defined(__NIOS2__)
|
||||
typedef int off_t;
|
||||
#elif defined(__riscv__)
|
||||
typedef int off_t;
|
||||
#else
|
||||
#error "The minimal libc library does not recognize the architecture!\n"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue