Merge pull request #93563 from mihe/nothreads-feature

Add `nothreads` feature tag to signify lack of `THREADS_ENABLED`
This commit is contained in:
Rémi Verschelde 2024-06-25 10:08:33 +02:00
commit 6b281c0c07
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -513,6 +513,10 @@ bool OS::has_feature(const String &p_feature) {
if (p_feature == "threads") {
return true;
}
#else
if (p_feature == "nothreads") {
return true;
}
#endif
if (_check_internal_feature_support(p_feature)) {