1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add support for PowerPC family

This commit is contained in:
Daniel Kolesa
2021-11-01 21:23:18 +01:00
parent 96ce806b2f
commit 3a84a64d2f
4 changed files with 27 additions and 4 deletions

View File

@@ -440,6 +440,15 @@ bool OS::has_feature(const String &p_feature) {
if (p_feature == "riscv") {
return true;
}
#elif defined(__powerpc__)
#if defined(__powerpc64__)
if (p_feature == "ppc64") {
return true;
}
#endif
if (p_feature == "ppc") {
return true;
}
#endif
if (_check_internal_feature_support(p_feature)) {