From f9739084f5172b419b265b0e773b0e8bb2810b2c Mon Sep 17 00:00:00 2001 From: ru Date: Tue, 6 Dec 2005 13:27:21 +0000 Subject: 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. --- sys/powerpc/include/param.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys/powerpc') 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_ -- cgit v1.1