diff options
author | emaste <emaste@FreeBSD.org> | 2015-03-18 13:07:19 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-03-18 13:07:19 +0000 |
commit | 957d1c1c9962faa33384c8d6de3bc2fbda6cd1ad (patch) | |
tree | bc450382e524b25ca036b63719f998a2abd5d125 /usr.bin/xlint | |
parent | 0a348b9a8c030b773c4d62e2beece2a5fec6176c (diff) | |
download | FreeBSD-src-957d1c1c9962faa33384c8d6de3bc2fbda6cd1ad.zip FreeBSD-src-957d1c1c9962faa33384c8d6de3bc2fbda6cd1ad.tar.gz |
xlint: add arm64 #define
Submitted by: andrew@
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin/xlint')
-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 94d8947..7d31373 100644 --- a/usr.bin/xlint/lint1/param.h +++ b/usr.bin/xlint/lint1/param.h @@ -95,6 +95,9 @@ #elif __mips__ #define PTRDIFF_IS_LONG 0 #define SIZEOF_IS_ULONG 0 +#elif __aarch64__ +#define PTRDIFF_IS_LONG 1 +#define SIZEOF_IS_ULONG 1 #else #error unknown machine type #endif |