diff options
Diffstat (limited to 'gcc/config/i386/mach.h')
-rw-r--r-- | gcc/config/i386/mach.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/config/i386/mach.h b/gcc/config/i386/mach.h index 29039f39948..0aa3846ae21 100644 --- a/gcc/config/i386/mach.h +++ b/gcc/config/i386/mach.h @@ -2,8 +2,15 @@ #define TARGET_VERSION fprintf (stderr, " (80386, Mach)"); -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dunix -DMACH -Asystem=unix -Asystem=mach" +#define TARGET_OS_CPP_BUILTINS() \ + do \ + { \ + builtin_define_std ("unix"); \ + builtin_define_std ("MACH"); \ + builtin_assert ("system=unix"); \ + builtin_assert ("system=mach"); \ + } \ + while (0) /* Specify extra dir to search for include files. */ #define SYSTEM_INCLUDE_DIR "/usr/mach/include" |