summaryrefslogtreecommitdiffstats
path: root/platform/web/os_web.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/web/os_web.cpp')
-rw-r--r--platform/web/os_web.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/web/os_web.cpp b/platform/web/os_web.cpp
index f038f0248a..186e4abf92 100644
--- a/platform/web/os_web.cpp
+++ b/platform/web/os_web.cpp
@@ -132,6 +132,10 @@ int OS_Web::get_processor_count() const {
return godot_js_os_hw_concurrency_get();
}
+String OS_Web::get_unique_id() const {
+ ERR_FAIL_V_MSG("", "OS::get_unique_id() is not available on the Web platform.");
+}
+
bool OS_Web::_check_internal_feature_support(const String &p_feature) {
if (p_feature == "web") {
return true;