1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 19:19:53 +00:00

Merge pull request #915 from AlbertoGP/master

Add ppc64 to os/arch
This commit is contained in:
Calvin Rose 2022-01-21 16:44:59 -06:00 committed by GitHub
commit 578803b01f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,6 +183,8 @@ JANET_CORE_FN(os_arch,
return janet_ckeywordv("sparc"); return janet_ckeywordv("sparc");
#elif (defined(__ppc__)) #elif (defined(__ppc__))
return janet_ckeywordv("ppc"); return janet_ckeywordv("ppc");
#elif (defined(__ppc64__) || defined(_ARCH_PPC64) || defined(_M_PPC))
return janet_ckeywordv("ppc64");
#else #else
return janet_ckeywordv("unknown"); return janet_ckeywordv("unknown");
#endif #endif