summaryrefslogtreecommitdiffstats
path: root/core/os/os.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/os.cpp')
-rw-r--r--core/os/os.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp
index 26ae286979..8582888740 100644
--- a/core/os/os.cpp
+++ b/core/os/os.cpp
@@ -298,7 +298,7 @@ String OS::get_system_dir(SystemDir p_dir, bool p_shared_storage) const {
return ".";
}
-Error OS::shell_open(String p_uri) {
+Error OS::shell_open(const String &p_uri) {
return ERR_UNAVAILABLE;
}
@@ -504,6 +504,12 @@ bool OS::has_feature(const String &p_feature) {
}
#endif
+#ifdef THREADS_ENABLED
+ if (p_feature == "threads") {
+ return true;
+ }
+#endif
+
if (_check_internal_feature_support(p_feature)) {
return true;
}