mirror of
https://github.com/frida/tinycc
synced 2024-11-24 08:39:37 +03:00
World is not reduced to either Windows or Linux
This commit is contained in:
parent
383f568a64
commit
18a5d8188a
15
tcc.c
15
tcc.c
@ -56,8 +56,21 @@ static void display_info(TCCState *s, int what)
|
||||
#endif
|
||||
#ifdef TCC_TARGET_PE
|
||||
" Windows"
|
||||
#else
|
||||
#elif defined(__APPLE__)
|
||||
/* Current Apple OS name as of 2016 */
|
||||
" macOS"
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
" FreeBSD"
|
||||
#elif defined(__DragonFly__)
|
||||
" DragonFly"
|
||||
#elif defined(__NetBSD__)
|
||||
" NetBSD"
|
||||
#elif defined(__OpenBSD__)
|
||||
" OpenBSD"
|
||||
#elif defined(__linux__)
|
||||
" Linux"
|
||||
#else
|
||||
" Unidentified system"
|
||||
#endif
|
||||
")\n", TCC_VERSION);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user