1
0
mirror of https://github.com/janet-lang/janet synced 2025-04-04 14:26:55 +00:00

Add ppc to os/arch

This commit is contained in:
Jason Pepas 2020-06-26 04:11:21 -05:00
parent 6a187a384b
commit 51bf8a3538

View File

@ -159,6 +159,8 @@ static Janet os_arch(int32_t argc, Janet *argv) {
return janet_ckeywordv("arm");
#elif (defined(__sparc__))
return janet_ckeywordv("sparc");
#elif (defined(__ppc__))
return janet_ckeywordv("ppc");
#else
return janet_ckeywordv("unknown");
#endif