diff options
author | Kito Cheng <kito@andestech.com> | 2017-07-27 16:44:22 +0800 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2017-08-16 18:00:58 -0400 |
commit | 363dbb9e44d0101f29ec34cadd001893daab3fc6 (patch) | |
tree | 8c39ab14c5b090653f88bd4624b593ef4819e059 /newlib/libc/include/sys/config.h | |
parent | 7e69f983a46dfb9ae9c09e30fc20ad6a91f0ddc4 (diff) | |
download | cygnal-363dbb9e44d0101f29ec34cadd001893daab3fc6.tar.gz cygnal-363dbb9e44d0101f29ec34cadd001893daab3fc6.tar.bz2 cygnal-363dbb9e44d0101f29ec34cadd001893daab3fc6.zip |
Add RISC-V port for newlib
Contributor list:
- Andrew Waterman <andrew@sifive.com>
- Palmer Dabbelt <palmer@dabbelt.com>
- Kito Cheng <kito.cheng@gmail.com>
- Scott Beamer <sbeamer@eecs.berkeley.edu>
Diffstat (limited to 'newlib/libc/include/sys/config.h')
-rw-r--r-- | newlib/libc/include/sys/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h index 117c49a6d..8dc0c5e9d 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -75,7 +75,7 @@ #define _POINTER_INT short #endif -#if defined(__m68k__) || defined(__mc68000__) +#if defined(__m68k__) || defined(__mc68000__) || defined(__riscv) #define _READ_WRITE_RETURN_TYPE _ssize_t #endif |