fix to allow build tcc by build-tcc.bat

move call to print_defines() from tcc.c to the libtcc.c
    define a print_defines() as a ST_FUNC
This commit is contained in:
seyko
2015-03-19 08:07:35 +03:00
parent aa812e8745
commit e2650608cd
4 changed files with 4 additions and 4 deletions

2
tcc.c
View File

@ -309,8 +309,6 @@ int main(int argc, char **argv)
start_time = getclock_us();
tcc_set_output_type(s, s->output_type);
if (s->output_type == TCC_OUTPUT_PREPROCESS)
print_defines();
/* compile or add each files or library */
for(i = ret = 0; i < s->nb_files && ret == 0; i++) {