From fb4f57666cf23aa94d6ef421383013e6a0dc12cc Mon Sep 17 00:00:00 2001 From: Andrei Warkentin Date: Tue, 28 Mar 2017 03:28:59 -0400 Subject: [PATCH] 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 --- tcc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tcc.c b/tcc.c index 9ae84fcf..49e4ad64 100644 --- a/tcc.c +++ b/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