mirror of
git://repo.or.cz/tinycc.git
synced 2026-07-08 04:18:40 +08:00
tcc: report Darwin when building for Mach-O binaries.
Somewhat revert c4c3f50, but key off the config, not
host system.
Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com>
This commit is contained in:
parent
63b2f907bd
commit
fb4f57666c
2
tcc.c
2
tcc.c
@ -159,6 +159,8 @@ static const char version[] =
|
|||||||
#endif
|
#endif
|
||||||
#ifdef TCC_TARGET_PE
|
#ifdef TCC_TARGET_PE
|
||||||
" Windows"
|
" Windows"
|
||||||
|
#elif defined(TCC_TARGET_MACHO)
|
||||||
|
" Darwin"
|
||||||
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||||
" FreeBSD"
|
" FreeBSD"
|
||||||
#else
|
#else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user