OSDN Git Service

Patch from Uwe Stieber.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jul 2003 06:01:50 +0000 (06:01 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jul 2003 06:01:50 +0000 (06:01 +0000)
* config/kaos.h (CPP_PREDEFINES): Delete.
(TARGET_OS_CPP_BUILTINS): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68912 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/kaos.h

index b9d07ec..9616fcb 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-03 Uwe Stieber <uwe@kaos-group.de>
+
+       * config/kaos.h (CPP_PREDEFINES): Delete.
+       (TARGET_OS_CPP_BUILTINS): New.
+
 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * c-aux-info.c: Include toplev.h after c-tree.h.
index 98719ac..45938da 100644 (file)
@@ -19,8 +19,12 @@ along with GCC; see the file COPYING.  If not, write to
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
-#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-D__kaOS__"
+/* Specify predefined symbols in preprocessor.  */
+#define TARGET_OS_CPP_BUILTINS()               \
+    do {                                       \
+       builtin_define ("__kaOS__");    \
+    } while (0)
+
 
 /* do not link any library implicitly for kaOS target.  */
 #undef LIB_SPEC