1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 01:37:19 +00:00
This commit is contained in:
Calvin Rose 2019-07-27 11:36:48 -05:00
parent 166862ecff
commit d6a1faa380

View File

@ -75,11 +75,11 @@ static Janet os_which(int32_t argc, Janet *argv) {
return janet_ckeywordv("web"); return janet_ckeywordv("web");
#elif defined(__linux__) #elif defined(__linux__)
return janet_ckeywordv("linux"); return janet_ckeywordv("linux");
#elif define(__FreeBSD__) #elif defined(__FreeBSD__)
return janet_ckeywordv("freebsd"); return janet_ckeywordv("freebsd");
#elif define(__NetBSD__) #elif defined(__NetBSD__)
return janet_ckeywordv("netbsd"); return janet_ckeywordv("netbsd");
#elif define(__OpenBSD__) #elif defined(__OpenBSD__)
return janet_ckeywordv("openbsd"); return janet_ckeywordv("openbsd");
#else #else
return janet_ckeywordv("posix"); return janet_ckeywordv("posix");