mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-05 14:32:15 +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)
|
||||
{
|
||||
FILE *out;
|
||||
read_table68k ();
|
||||
do_merges ();
|
||||
|
||||
@ -2472,7 +2473,7 @@ int main (int argc, char **argv)
|
||||
|
||||
headerfile = fopen ("cputbl.h", "w");
|
||||
stblfile = fopen ("cpustbl.cpp", "w");
|
||||
FILE *out = freopen ("cpuemu.cpp", "w", stdout);
|
||||
out = freopen ("cpuemu.cpp", "w", stdout);
|
||||
|
||||
generate_includes (stdout);
|
||||
generate_includes (stblfile);
|
||||
|
Loading…
Reference in New Issue
Block a user