forked from Mirrors/tinycc
Linux was incorrectly identified in banner when compiled on macOS Darwin
parent
bb93064d78
commit
206829415a
2
tcc.c
2
tcc.c
|
@ -160,6 +160,8 @@ static const char version[] =
|
||||||
" Windows"
|
" Windows"
|
||||||
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||||
" FreeBSD"
|
" FreeBSD"
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
" Darwin"
|
||||||
#else
|
#else
|
||||||
" Linux"
|
" Linux"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue