mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-07 16:54:28 +00:00
Avoid C99-isms in C code for old compilers (e.g. gcc "2.96" on MDK 8.1)
This commit is contained in:
parent
1421bca4a7
commit
12eb8b670f
@ -2457,6 +2457,7 @@ static void generate_func (void)
|
|||||||
|
|
||||||
int main (int argc, char **argv)
|
int main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
FILE *out;
|
||||||
read_table68k ();
|
read_table68k ();
|
||||||
do_merges ();
|
do_merges ();
|
||||||
|
|
||||||
@ -2472,7 +2473,7 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
headerfile = fopen ("cputbl.h", "w");
|
headerfile = fopen ("cputbl.h", "w");
|
||||||
stblfile = fopen ("cpustbl.cpp", "w");
|
stblfile = fopen ("cpustbl.cpp", "w");
|
||||||
FILE *out = freopen ("cpuemu.cpp", "w", stdout);
|
out = freopen ("cpuemu.cpp", "w", stdout);
|
||||||
|
|
||||||
generate_includes (stdout);
|
generate_includes (stdout);
|
||||||
generate_includes (stblfile);
|
generate_includes (stblfile);
|
||||||
|
Loading…
Reference in New Issue
Block a user