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/powerpc | |
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/powerpc')
-rw-r--r-- | sys/powerpc/include/param.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/powerpc/include/param.h b/sys/powerpc/include/param.h index 15d8e7a..6a2018e 100644 --- a/sys/powerpc/include/param.h +++ b/sys/powerpc/include/param.h @@ -54,13 +54,6 @@ #define _ALIGN(p) (((unsigned)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) #endif -#ifndef _MACHINE -#define _MACHINE powerpc -#endif -#ifndef _MACHINE_ARCH -#define _MACHINE_ARCH powerpc -#endif - #ifndef _NO_NAMESPACE_POLLUTION #ifndef _MACHINE_PARAM_H_ |