diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-08 22:26:25 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-08 22:26:25 +0000 |
commit | efd8e44262a445ea859d1e247b27d4ca1e609985 (patch) | |
tree | 4bd9825f473319bda78d7c3e7752303435ef2f8f /gcc/config/sh/rtems.h | |
parent | 03bde6017ce5581fcb73761fa8c5210ee12631aa (diff) | |
download | gcc-efd8e44262a445ea859d1e247b27d4ca1e609985.tar.gz |
* config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
CPP_PREDEFINES.
* config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
CPP_PREDEFINES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64002 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh/rtems.h')
-rw-r--r-- | gcc/config/sh/rtems.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/sh/rtems.h b/gcc/config/sh/rtems.h index b52ef7216ec..f501d19240f 100644 --- a/gcc/config/sh/rtems.h +++ b/gcc/config/sh/rtems.h @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ /* Specify predefined symbols in preprocessor. */ -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-D__sh__ -D__rtems__ \ - -Asystem=rtems -Acpu=sh -Amachine=sh" +#define TARGET_OS_CPP_BUILTINS() do { \ + builtin_define( "__rtems__" ); \ + builtin_assert( "system=rtems" ); \ +} while (0) |