diff options
author | clean | 2001-05-15 11:20:03 +0000 |
---|---|---|
committer | clean | 2001-05-15 11:20:03 +0000 |
commit | b4cd3fdae60e92f33157486b0b0741af5bac9bf0 (patch) | |
tree | b23b4ef4a8cb82eeac0ec6800bf0dc9ce685c9c8 /backendC | |
parent | merged with backend C source code on the mac (diff) |
commit from pc after merge on mac (not tested)
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@431 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC')
-rw-r--r-- | backendC/CleanCompilerSources/system.h | 10 | ||||
-rw-r--r-- | backendC/CleanCompilerSources/types.t | 6 |
2 files changed, 10 insertions, 6 deletions
diff --git a/backendC/CleanCompilerSources/system.h b/backendC/CleanCompilerSources/system.h index d200b95..c03ef56 100644 --- a/backendC/CleanCompilerSources/system.h +++ b/backendC/CleanCompilerSources/system.h @@ -6,13 +6,15 @@ */ #define _SYSTEM_ -#undef _WINDOWS_ -#if defined (applec) || (defined (__MWERKS__) && !defined (_WINDOWS_)) || defined (__MRC__) +#if defined (__MWERKS__) && defined (_X86_) +# define _WINDOWS_ +#endif + +#if defined (applec) || (defined (__MWERKS__) && !defined (_X86_)) || defined (__MRC__) # define _MAC_ # define _STANDALONE_ - -#define __ppc__ +# define __ppc__ #elif defined (THINK_C) # define _MACUSER_ diff --git a/backendC/CleanCompilerSources/types.t b/backendC/CleanCompilerSources/types.t index 9a58e36..59a1770 100644 --- a/backendC/CleanCompilerSources/types.t +++ b/backendC/CleanCompilerSources/types.t @@ -2,9 +2,11 @@ #if !defined (_THE__TYPES_) #define _THE__TYPES_ -#undef _WINDOWS_ +#if defined (__MWERKS__) && defined (_X86_) +# define _WINDOWS_ +#endif -#if (defined (__MWERKS__) && !defined (_WINDOWS_)) || defined (__MRC__) +#if (defined (__MWERKS__) && !defined (_X86_)) || defined (__MRC__) # define POWER 1 #endif |