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/amd64 | |
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/amd64')
-rw-r--r-- | sys/amd64/include/param.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h index 39ce1ff..11cd977 100644 --- a/sys/amd64/include/param.h +++ b/sys/amd64/include/param.h @@ -64,13 +64,6 @@ #define _ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t)-1)) == 0) #endif -#ifndef _MACHINE -#define _MACHINE amd64 -#endif -#ifndef _MACHINE_ARCH -#define _MACHINE_ARCH amd64 -#endif - #ifndef _NO_NAMESPACE_POLLUTION #ifndef _MACHINE_PARAM_H_ |