Identify solaris and minix for version info

This commit is contained in:
Lassi Kortela 2019-10-14 14:11:09 +03:00
parent d6086ba9e3
commit f749246f7d
1 changed files with 6 additions and 0 deletions

View File

@ -83,6 +83,12 @@ static value_t get_platform(void)
#ifdef __DragonFly__ #ifdef __DragonFly__
userland = kernel = "dragonfly"; userland = kernel = "dragonfly";
#endif #endif
#ifdef __sun
userland = kernel = "solaris";
#endif
#ifdef __minix
userland = kernel = "minix";
#endif
#ifdef __APPLE__ #ifdef __APPLE__
userland = kernel = "darwin"; userland = kernel = "darwin";
#endif #endif