1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 00:10:27 +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");
#elif defined(__linux__)
return janet_ckeywordv("linux");
#elif define(__FreeBSD__)
#elif defined(__FreeBSD__)
return janet_ckeywordv("freebsd");
#elif define(__NetBSD__)
#elif defined(__NetBSD__)
return janet_ckeywordv("netbsd");
#elif define(__OpenBSD__)
#elif defined(__OpenBSD__)
return janet_ckeywordv("openbsd");
#else
return janet_ckeywordv("posix");