aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources/system.h
diff options
context:
space:
mode:
authorclean2001-05-15 11:20:03 +0000
committerclean2001-05-15 11:20:03 +0000
commitb4cd3fdae60e92f33157486b0b0741af5bac9bf0 (patch)
treeb23b4ef4a8cb82eeac0ec6800bf0dc9ce685c9c8 /backendC/CleanCompilerSources/system.h
parentmerged 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/CleanCompilerSources/system.h')
-rw-r--r--backendC/CleanCompilerSources/system.h10
1 files changed, 6 insertions, 4 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_