From 8503f9516f68a762ccd052bfc0d7dcf31913935b Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Tue, 9 Oct 2001 20:04:02 +0000 Subject: Make this build on ia64. --- usr.bin/xlint/lint1/param.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/xlint/lint1/param.h b/usr.bin/xlint/lint1/param.h index 9faa57435892..e7926d98879b 100644 --- a/usr.bin/xlint/lint1/param.h +++ b/usr.bin/xlint/lint1/param.h @@ -62,7 +62,10 @@ * Should be set to 1 if the difference of two pointers is of type long * or the value of sizeof is of type unsigned long. */ -#ifdef __alpha__ +#ifdef __ia64__ +#define PTRDIFF_IS_LONG 1 +#define SIZEOF_IS_ULONG 1 +#elif __alpha__ #define PTRDIFF_IS_LONG 1 #define SIZEOF_IS_ULONG 1 #elif __i386__ -- cgit v1.3