summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-03-18 13:07:19 +0000
committeremaste <emaste@FreeBSD.org>2015-03-18 13:07:19 +0000
commit957d1c1c9962faa33384c8d6de3bc2fbda6cd1ad (patch)
treebc450382e524b25ca036b63719f998a2abd5d125 /usr.bin/xlint
parent0a348b9a8c030b773c4d62e2beece2a5fec6176c (diff)
downloadFreeBSD-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.h3
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
OpenPOWER on IntegriCloud