summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-12-06 13:27:21 +0000
committerru <ru@FreeBSD.org>2005-12-06 13:27:21 +0000
commitf9739084f5172b419b265b0e773b0e8bb2810b2c (patch)
treeb8cfee62b7ad22ba7af243b5851e0ff5d3a940f2 /sys/alpha
parentc1606167c2178ab40aa4de7d37ba7fcf4ad41a03 (diff)
downloadFreeBSD-src-f9739084f5172b419b265b0e773b0e8bb2810b2c.zip
FreeBSD-src-f9739084f5172b419b265b0e773b0e8bb2810b2c.tar.gz
Drop _MACHINE_ARCH and _MACHINE defines (not to be confused with
MACHINE_ARCH and MACHINE). Their purpose was to be able to test in cpp(1), but cpp(1) only understands integer type expressions. Using such unsupported expressions introduced a number of subtle bugs, which were discovered by compiling with -Wundef.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/include/param.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h
index ae35a4d..f8e1a45 100644
--- a/sys/alpha/include/param.h
+++ b/sys/alpha/include/param.h
@@ -64,13 +64,6 @@
#define _ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t)-1)) == 0)
#endif
-#ifndef _MACHINE
-#define _MACHINE alpha
-#endif
-#ifndef _MACHINE_ARCH
-#define _MACHINE_ARCH alpha
-#endif
-
#ifndef _NO_NAMESPACE_POLLUTION
#ifndef _MACHINE_PARAM_H_
OpenPOWER on IntegriCloud