tccpp: cleanup target-os defines
commitea82d0826dacb66e3cf5577a17bc44a7a5c82157
authorgrischka <grischka>
Tue, 22 Dec 2020 20:10:22 +0000 (22 21:10 +0100)
committergrischka <grischka>
Thu, 31 Dec 2020 01:03:31 +0000 (31 02:03 +0100)
treef301bf9ad0acea69f730ad6791648202c2627ec1
parentd784b288775558d34a72cdca011fd801acfe6a99
tccpp: cleanup target-os defines

moved target_machine defines to the <target>-gen.c files.

Also:
- c2str.c moved into conftest.c
- tccdefs.h ; defined(__TINYC__) && !defined(_LOCORE) removed
  (in tinycc __TINYC__ is always defined and _LO... is never.)
- stddef.h : too many #ifdefs, removed
- tccgen.c:stabs: support win32 long doubles aka doubles.
- win32: math.h/tcc_libm.h: fix pointer mismatch in modfl
- tccpp.c: increment include_stack_ptr after the file was
  actually found otherwise it would print
  "in file included from <itself>: file not found..."
20 files changed:
Makefile
arm-gen.c
arm64-gen.c
c67-gen.c
conftest.c
i386-gen.c
include/stddef.h
include/tccdefs.h
riscv64-gen.c
tcc.h
tccgen.c
tccpp.c
tests/libtcc_test_mt.c
tests/misc/c2str.c [deleted file]
win32/include/_mingw.h
win32/include/errno.h
win32/include/math.h
win32/include/stdlib.h
win32/include/tcc/tcc_libm.h
x86_64-gen.c