mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-28 12:10:05 +08: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
|
#endif
|
||||||
#ifdef TCC_TARGET_PE
|
#ifdef TCC_TARGET_PE
|
||||||
" Windows"
|
" 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"
|
" Linux"
|
||||||
|
#else
|
||||||
|
" Unidentified system"
|
||||||
#endif
|
#endif
|
||||||
")\n", TCC_VERSION);
|
")\n", TCC_VERSION);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user