diff options
author | roland <roland@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-02-14 00:38:07 +0000 |
---|---|---|
committer | roland <roland@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-02-14 00:38:07 +0000 |
commit | b5c98ff2a6275b669d3ec75546ae2978258259a0 (patch) | |
tree | cb7a9b01fc940c702ac16164db0d82afa8b309e5 /gcc/config/gnu.h | |
parent | 57363fde80dd453a327c534abd5f12286e79646a (diff) | |
download | gcc-b5c98ff2a6275b669d3ec75546ae2978258259a0.tar.gz |
(GNU_CPP_PREDEFINES): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8948 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/gnu.h')
-rw-r--r-- | gcc/config/gnu.h | 7 |
1 files changed, 7 insertions, 0 deletions
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}" |