1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 08:20:27 +00:00

Merge pull request #431 from cellularmitosis/master

Add ppc to os/arch
This commit is contained in:
Calvin Rose 2020-06-26 22:43:41 -05:00 committed by GitHub
commit 36f66661f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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