diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-09 22:01:15 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-09 22:01:15 +0000 |
commit | 6dfe8beb9c0106dc9f979846055b62701a47b9da (patch) | |
tree | 65d0d6a17e094bd608d3cc8c6cf1bb99cb3cb3a8 /gcc/config/ip2k/ip2k.h | |
parent | 5842765dda5c0e57d01ef717e81d70c72f6edaee (diff) | |
download | gcc-6dfe8beb9c0106dc9f979846055b62701a47b9da.tar.gz |
* config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
* config/ip2k/ip2k.h: Similarly.
* config/m32r/m32r.h: Similarly.
* config/m68hc11/m68hc11.h: Similarly.
* config/mn10200/mn10200.h: Similarly.
* config/mn10300/mn10300.h: Similarly.
* config/pdp11/pdp11.h: Similarly.
* config/v850/v850.h: Similarly.
* config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS.
* config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS.
* config/mips/iris3.h: Remove #if 0 block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ip2k/ip2k.h')
-rw-r--r-- | gcc/config/ip2k/ip2k.h | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/gcc/config/ip2k/ip2k.h b/gcc/config/ip2k/ip2k.h index 34f901c2769..a4cd4e45b20 100644 --- a/gcc/config/ip2k/ip2k.h +++ b/gcc/config/ip2k/ip2k.h @@ -27,26 +27,15 @@ Boston, MA 02111-1307, USA. */ #include "elfos.h" #undef ASM_SPEC /* But we have a GAS assembler. */ -#define CPP_PREDEFINES \ - "-DIP2K -D_DOUBLE_IS_32BITS -D__BUFSIZ__=512 -D__FILENAME_MAX__=128" -/* Define this to be a string constant containing `-D' options to - define the predefined macros that identify this machine and system. - These macros will be predefined unless the `-ansi' option is - specified. - - In addition, a parallel set of macros are predefined, whose names - are made by appending `__' at the beginning and at the end. These - `__' macros are permitted by the ANSI standard, so they are - predefined regardless of whether `-ansi' is specified. - - For example, on the Sun, one can use the following value: - - "-Dmc68000 -Dsun -Dunix" - - The result is to define the macros `__mc68000__', `__sun__' and - `__unix__' unconditionally, and the macros `mc68000', `sun' and - `unix' provided `-ansi' is not specified. */ - +#define TARGET_CPU_CPP_BUILTINS() \ + do \ + { \ + builtin_define_std ("IP2K"); \ + builtin_define ("_DOUBLE_IS_32BITS"); \ + builtin_define ("_BUFSIZ=512"); \ + builtin_define ("__FILENAME_MAX__=128"); \ + } \ + while (0) /* This declaration should be present. */ extern int target_flags; |