aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backendC/CleanCompilerSources/apple_main.c11
-rw-r--r--backendC/CleanCompilerSources/scanner_2.c2
2 files changed, 12 insertions, 1 deletions
diff --git a/backendC/CleanCompilerSources/apple_main.c b/backendC/CleanCompilerSources/apple_main.c
index 8ce9dac..ef27204 100644
--- a/backendC/CleanCompilerSources/apple_main.c
+++ b/backendC/CleanCompilerSources/apple_main.c
@@ -102,6 +102,17 @@ extern int CallCompiler (int argc,char **argv);
char return_error_string[200];
+#ifdef CG_PPC_XO
+extern int generate_code_xo (int argc,char **argv,char *return_error_string_p,int *compiler_id_p);
+extern int generate_code_o (int argc,char **argv,char *return_error_string_p,int *compiler_id_p);
+#endif
+
+#ifdef CLEAN2
+int compiler_id=-1;
+#else
+extern int compiler_id;
+#endif
+
int do_command (char *command)
{
char *p,*(argv[257]);
diff --git a/backendC/CleanCompilerSources/scanner_2.c b/backendC/CleanCompilerSources/scanner_2.c
index e756907..f7359c0 100644
--- a/backendC/CleanCompilerSources/scanner_2.c
+++ b/backendC/CleanCompilerSources/scanner_2.c
@@ -26,7 +26,7 @@
# include "scanner.h"
# include "sizes.h"
-# if (defined (__MWERKS__) || defined (__MRC__)) && !defined _WINDOWS_ /* && !defined (MAKE_MPW_TOOL) */
+# if (defined (__MWERKS__) || defined (__MRC__) || (defined (GNU_C) && defined (_MAC_)) && !defined _WINDOWS_ /* && !defined (MAKE_MPW_TOOL) */
# define CACHE_DCL_FILES
# define CACHE_INLINE_FILES
# else