From 3a84a64d2fd600e68ee3e54a5fbc12347e9b2f9f Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Mon, 1 Nov 2021 21:23:18 +0100 Subject: Add support for PowerPC family --- core/os/os.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'core/os') diff --git a/core/os/os.cpp b/core/os/os.cpp index 5892f91ff3..03e251880f 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -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)) { -- cgit v1.2.3