[Web] Add Web-build specific stdout header

This commit is contained in:
Adam Scott 2025-06-11 12:14:51 -04:00
parent cc9761c3f0
commit f411c5b2f1
No known key found for this signature in database
GPG key ID: CECA1BAC77139AB0
9 changed files with 101 additions and 5 deletions

View file

@ -591,15 +591,20 @@ bool OS::has_feature(const String &p_feature) {
}
#endif
#ifdef THREADS_ENABLED
if (p_feature == "threads") {
#ifdef THREADS_ENABLED
return true;
}
#else
if (p_feature == "nothreads") {
return true;
}
return false;
#endif
}
if (p_feature == "nothreads") {
#ifdef THREADS_ENABLED
return false;
#else
return true;
#endif
}
if (_check_internal_feature_support(p_feature)) {
return true;