diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/kaos.h | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b9d07ec..9616fcb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/kaos.h b/gcc/config/kaos.h index 98719ac..45938da 100644 --- a/gcc/config/kaos.h +++ b/gcc/config/kaos.h @@ -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 |