From b5c98ff2a6275b669d3ec75546ae2978258259a0 Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 14 Feb 1995 00:38:07 +0000 Subject: (GNU_CPP_PREDEFINES): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8948 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/gnu.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc/config/gnu.h') diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h index f565f292714..a279b109ccf 100644 --- a/gcc/config/gnu.h +++ b/gcc/config/gnu.h @@ -1,5 +1,12 @@ /* Configuration common to all targets running the GNU system. */ +/* Macro to produce CPP_PREDEFINES for GNU on a given machine. */ +#define GNU_CPP_PREDEFINES(machine) \ +"-D" machine " -Acpu(" machine ") -Amachine(" machine ")" +"-Dunix -Asystem(unix) \ +-DMACH -Asystem(mach) \ +-D__GNU__ -Asystem(gnu) -D__HURD__" + /* Provide GCC options for standard feature-test macros. */ #undef CPP_SPEC #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}" -- cgit v1.2.1