diff options
author | ru <ru@FreeBSD.org> | 2005-12-06 13:27:21 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-12-06 13:27:21 +0000 |
commit | f9739084f5172b419b265b0e773b0e8bb2810b2c (patch) | |
tree | b8cfee62b7ad22ba7af243b5851e0ff5d3a940f2 /sys/arm/include | |
parent | c1606167c2178ab40aa4de7d37ba7fcf4ad41a03 (diff) | |
download | FreeBSD-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/arm/include')
-rw-r--r-- | sys/arm/include/param.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/arm/include/param.h b/sys/arm/include/param.h index 885f2d2..65c4f4a 100644 --- a/sys/arm/include/param.h +++ b/sys/arm/include/param.h @@ -56,12 +56,6 @@ #define STACKALIGNBYTES (8 - 1) #define STACKALIGN(p) ((u_int)(p) & ~STACKALIGNBYTES) -#ifndef _MACHINE -#define _MACHINE "arm" -#endif -#ifndef _MACHINE_ARCH -#define _MACHINE_ARCH "arm" -#endif #ifndef _NO_NAMESPACE_POLLUTION |