1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-29 03:19:54 +00:00

Merge branch 'master' of github.com:janet-lang/janet

This commit is contained in:
Calvin Rose 2022-01-21 17:16:29 -06:00
commit 6b949a7375

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