mirror of
https://github.com/idris-lang/Idris2.git
synced 2025-01-01 16:12:26 +03:00
Merge pull request #750 from ska80/refc-sysos
[refc] Update 'sysOS' to recognize more BSD flavors
This commit is contained in:
commit
2e6aa126a4
@ -86,6 +86,12 @@ Value *sysOS(void)
|
||||
return (Value *)makeString("Linux");
|
||||
#elif __FreeBSD__
|
||||
return (Value *)makeString("FreeBSD");
|
||||
#elif __OpenBSD__
|
||||
return (Value *)makeString("OpenBSD");
|
||||
#elif __NetBSD__
|
||||
return (Value *)makeString("NetBSD");
|
||||
#elif __DragonFly__
|
||||
return (Value *)makeString("DragonFly");
|
||||
#elif __unix || __unix__
|
||||
return (Value *)makeString("Unix");
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user