summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2002-12-09 23:27:47 +0000
committerbenno <benno@FreeBSD.org>2002-12-09 23:27:47 +0000
commit7be4041b2223c79f1324905eed85323da019ba06 (patch)
treeb9261bc8d0854450eaf78ad07cb884cb3946a2fb /usr.bin/xlint
parent8a993d48c871117903de2bcfc24bad26fcd0c3d1 (diff)
downloadFreeBSD-src-7be4041b2223c79f1324905eed85323da019ba06.zip
FreeBSD-src-7be4041b2223c79f1324905eed85323da019ba06.tar.gz
Teach lint about powerpc.
Approved by: re (rwatson)
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 b562403..69f46ba 100644
--- a/usr.bin/xlint/lint1/param.h
+++ b/usr.bin/xlint/lint1/param.h
@@ -77,6 +77,9 @@
#elif __ns32k__
#define PTRDIFF_IS_LONG 0
#define SIZEOF_IS_ULONG 0
+#elif __powerpc__
+#define PTRDIFF_IS_LONG 0
+#define SIZEOF_IS_ULONG 0
#elif __sparc__
#define PTRDIFF_IS_LONG 0
#define SIZEOF_IS_ULONG 0
OpenPOWER on IntegriCloud