mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 09:47:17 +00:00
commit
578803b01f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user