summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2001-10-09 20:04:02 +0000
committerdfr <dfr@FreeBSD.org>2001-10-09 20:04:02 +0000
commita2d294036ee6013414a8a881f54b08395950c754 (patch)
treeff397dc9418378aed1b9e6f5edecc9af6fd4c643
parent478926021cd002b82ec79025079ea1f70b890534 (diff)
downloadFreeBSD-src-a2d294036ee6013414a8a881f54b08395950c754.zip
FreeBSD-src-a2d294036ee6013414a8a881f54b08395950c754.tar.gz
Make this build on ia64.
-rw-r--r--usr.bin/xlint/lint1/param.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/xlint/lint1/param.h b/usr.bin/xlint/lint1/param.h
index 9faa574..e7926d9 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__
OpenPOWER on IntegriCloud