Identify solaris and minix for version info
This commit is contained in:
parent
d6086ba9e3
commit
f749246f7d
6
c/main.c
6
c/main.c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue