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
1 changed files with 2 additions and 0 deletions
2
tcc.c
2
tcc.c
|
@ -159,6 +159,8 @@ static const char version[] =
|
|||
#endif
|
||||
#ifdef TCC_TARGET_PE
|
||||
" Windows"
|
||||
#elif defined(TCC_TARGET_MACHO)
|
||||
" Darwin"
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
" FreeBSD"
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue