Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
cc6aa644
Commit
cc6aa644
authored
Apr 19, 2004
by
John van Groningen
Browse files
port to gcc on Mac OS X
parent
45d7f4b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
backendC/CleanCompilerSources/apple_main.c
View file @
cc6aa644
...
...
@@ -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
]);
...
...
backendC/CleanCompilerSources/scanner_2.c
View file @
cc6aa644
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment