aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources
diff options
context:
space:
mode:
Diffstat (limited to 'backendC/CleanCompilerSources')
-rw-r--r--backendC/CleanCompilerSources/system.h10
-rw-r--r--backendC/CleanCompilerSources/types.t6
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