Somewhat revert c4c3f50, but key off the config, not host system.
Unified · Split
| @@ -159,6 +159,8 @@ static const char version[] = · 158 unmodified lines | ||
| 159 | 159 | #endif |
| 160 | 160 | #ifdef TCC_TARGET_PE |
| 161 | 161 | " Windows" |
| 162 | +#elif defined(TCC_TARGET_MACHO) | |
| 163 | + " Darwin" | |
| 162 | 164 | #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) |
| 163 | 165 | " FreeBSD" |
| 164 | 166 | #else |