libc: add support for risc v

Change-Id: Iaaf87ef48057c52478816771836d8d40b2b05554
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-12-15 10:01:35 -05:00 committed by Andrew Boie
commit 9f418fe944

View file

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