summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-03-10 01:34:22 +0000
committerjake <jake@FreeBSD.org>2002-03-10 01:34:22 +0000
commit6b83ff594ae00c6cf0c43a7fa5feb38291ae453a (patch)
tree14ddaa7700f9e6140dc72f15bf03d380f1a8829e /usr.bin/xlint
parent0517cd92aaa463d3891a2abc7e1b71b8f20e98e8 (diff)
downloadFreeBSD-src-6b83ff594ae00c6cf0c43a7fa5feb38291ae453a.zip
FreeBSD-src-6b83ff594ae00c6cf0c43a7fa5feb38291ae453a.tar.gz
Add sparc64 ifdefs.
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 e7926d9..b562403 100644
--- a/usr.bin/xlint/lint1/param.h
+++ b/usr.bin/xlint/lint1/param.h
@@ -80,6 +80,9 @@
#elif __sparc__
#define PTRDIFF_IS_LONG 0
#define SIZEOF_IS_ULONG 0
+#elif __sparc64__
+#define PTRDIFF_IS_LONG 1
+#define SIZEOF_IS_ULONG 1
#elif __vax__
#define PTRDIFF_IS_LONG 0
#define SIZEOF_IS_ULONG 0
OpenPOWER on IntegriCloud