diff --git a/libtcc.c b/libtcc.c index 9fa0dd8..0488f33 100644 --- a/libtcc.c +++ b/libtcc.c @@ -69,7 +69,7 @@ ST_DATA void *rt_prog_main; #ifdef TCC_TARGET_PE #include "tccpe.c" #endif -#endif /* ALL_IN_ONE */ +#endif /* ONE_SOURCE */ /********************************************************/ #ifndef CONFIG_TCC_ASM diff --git a/tests/Makefile b/tests/Makefile index 36dd5fc..8cd906d 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -20,7 +20,7 @@ endif # run local version of tcc with local libraries and includes TCC = ../tcc -B.. -RUN_TCC = $(NATIVE_DEFINES) -run ../tcc.c -B.. +RUN_TCC = $(NATIVE_DEFINES) -run -DONE_SOURCE ../tcc.c -B.. DISAS=objdump -d all test : $(TESTS)