aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-03-19 08:07:35 +0300
committerseyko <seyko2@gmail.com>2015-03-19 08:07:35 +0300
commite2650608cdeb865aec9095bfaa00c28b9803fc8a (patch)
tree936e6d38214127bd0b2d1642a19e7e62e56481b9 /tcc.c
parentaa812e87455271d2b73e7f41832aee496fe81ee0 (diff)
downloadtinycc-e2650608cdeb865aec9095bfaa00c28b9803fc8a.tar.gz
tinycc-e2650608cdeb865aec9095bfaa00c28b9803fc8a.tar.bz2
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
Diffstat (limited to 'tcc.c')
-rw-r--r--tcc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tcc.c b/tcc.c
index 973c124..5815ade 100644
--- a/tcc.c
+++ b/tcc.c
@@ -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++) {