stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in preference to CPP_PREDEFINES.
authorNeil Booth <neil@daikokuya.co.uk>
Sat, 8 Mar 2003 15:32:45 +0000 (15:32 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 8 Mar 2003 15:32:45 +0000 (15:32 +0000)
* config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
preference to CPP_PREDEFINES.

From-SVN: r63994

gcc/ChangeLog
gcc/config/stormy16/stormy16.h

index 0b788053bd45a0402abdfcceab67ef0df6ceab4c..6cb8d160e38ca509f79789e7ad0c34f9c7043473 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
+
+       * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
+       preference to CPP_PREDEFINES.
+
 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
 
        * cppinit.c (cpp_finish_options): Set first_unused_line to -1.
index e6d645892c2d153fcce4e4b542f0d34e6c158914..be29865410b8f571c63f9a983a9c8a39216dbe75 100644 (file)
@@ -67,7 +67,10 @@ Boston, MA 02111-1307, USA.  */
 \f
 /* Run-time target specifications */
 
-#define CPP_PREDEFINES "-Dxstormy16 -Amachine=xstormy16"
+#define TARGET_CPU_CPP_BUILTINS() do { \
+  builtin_define_std ("xstormy16");    \
+  builtin_assert ("machine=xstormy16");        \
+} while (0)
 
 /* This declaration should be present.  */
 extern int target_flags;