[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
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;