diff options
author | br <br@FreeBSD.org> | 2016-01-22 16:32:22 +0000 |
---|---|---|
committer | br <br@FreeBSD.org> | 2016-01-22 16:32:22 +0000 |
commit | 9f447408886f7f925c166c56e4be8c30839813bc (patch) | |
tree | c006307756a400d4d988a25eb2d6259dad67933c /usr.bin/xlint/lint1 | |
parent | 241625018cd7606dfec8ccc4299cae1a11e398aa (diff) | |
download | FreeBSD-src-9f447408886f7f925c166c56e4be8c30839813bc.zip FreeBSD-src-9f447408886f7f925c166c56e4be8c30839813bc.tar.gz |
Add support for RISC-V ISA.
Reviewed by: andrew
Sponsored by: DARPA, AFRL
Sponsored by: HEIF5
Differential Revision: https://reviews.freebsd.org/D5014
Diffstat (limited to 'usr.bin/xlint/lint1')
-rw-r--r-- | usr.bin/xlint/lint1/param.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/xlint/lint1/param.h b/usr.bin/xlint/lint1/param.h index 7d31373..1e15fbd 100644 --- a/usr.bin/xlint/lint1/param.h +++ b/usr.bin/xlint/lint1/param.h @@ -80,6 +80,9 @@ #elif __powerpc__ #define PTRDIFF_IS_LONG 0 #define SIZEOF_IS_ULONG 0 +#elif __riscv__ +#define PTRDIFF_IS_LONG 1 +#define SIZEOF_IS_ULONG 1 #elif __sparc__ #define PTRDIFF_IS_LONG 0 #define SIZEOF_IS_ULONG 0 |