summaryrefslogtreecommitdiff
path: root/mcon.c
diff options
context:
space:
mode:
authorJohn van Groningen2006-06-28 13:21:49 +0000
committerJohn van Groningen2006-06-28 13:21:49 +0000
commit39436ec61688e0e55f389f0698bd7d38eac07086 (patch)
tree20601a32fbbe73d92d454b05ddd894425f365368 /mcon.c
parentfix reopenF and readFC (diff)
remove definition of system_environment for MacOS X
Diffstat (limited to 'mcon.c')
-rw-r--r--mcon.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/mcon.c b/mcon.c
index 3819cd4..eee8e8f 100644
--- a/mcon.c
+++ b/mcon.c
@@ -1844,17 +1844,20 @@ void load_code_segments (VOID)
extern int processor_table,end_processor_table;
#endif
-SysEnvRec system_environment;
int wait_next_event_available;
#include <types.h>
-#ifndef powerc
+#ifndef MACOSX
+SysEnvRec system_environment;
+
+# ifndef powerc
#pragma parameter __D0 MySysEnvirons (__D0, __A0)
extern pascal OSErr MySysEnvirons(short versionRequested, SysEnvRec *theWorld)
ONEWORDINLINE(0xA090);
-#else
+# else
#define MySysEnvirons SysEnvirons
+# endif
#endif
#define MINIMUM_HEAP_SIZE_MULTIPLE ((2*256)+128)