From 51bf8a35385f5008c67df4a9a25b92eec6862f9d Mon Sep 17 00:00:00 2001 From: Jason Pepas Date: Fri, 26 Jun 2020 04:11:21 -0500 Subject: [PATCH] Add ppc to os/arch --- src/core/os.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/os.c b/src/core/os.c index 6f68fafe..837375cb 100644 --- a/src/core/os.c +++ b/src/core/os.c @@ -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