include/tccdefs.h: moved and use it
commit9f6b65230ac6b736698e740c4bc14c6c2f095f13
authorgrischka <grischka>
Thu, 17 Dec 2020 23:33:44 +0000 (18 00:33 +0100)
committergrischka <grischka>
Tue, 22 Dec 2020 10:06:19 +0000 (22 11:06 +0100)
treed1b15b6e69c100c7ffd58a248930b716f1b997d1
parent8f8abcc756cbd8abcfef444125ee04ca30f3b228
include/tccdefs.h: moved and use it

tcc_define_symbol(): now only for -D on command line
include/tccdefs.h: converted to strings and compiled into
the tcc executable.  Can be disabled with
    ./configure --config-predefs=no
In this case include/tccdefs.h is loaded at runtime.  This is
default for other build-methods (build-tcc.bat) also (to avoid
some complexity).

Also:
- lib/Makefile: fix typo
- tcc.h : avoid _strto(u)i64 (for TCC on WIN98/2K)
- tccpp.h:cstr_printf() : workaround incompatible vsnprintf's
  (generally faster too)
.gitignore
Makefile
arm-gen.c
configure
include/tccdefs.h [new file with mode: 0644]
lib/Makefile
libtcc.c
tcc.h
tccpp.c
tests/misc/c2str.c
tests/misc/tcc_predefs.h [deleted file]