Skip to content

Commit 6b281c0

Browse files
committed
Merge pull request godotengine#93563 from mihe/nothreads-feature
Add `nothreads` feature tag to signify lack of `THREADS_ENABLED`
2 parents 5d089e1 + 53d3d66 commit 6b281c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/os/os.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,10 @@ bool OS::has_feature(const String &p_feature) {
513513
if (p_feature == "threads") {
514514
return true;
515515
}
516+
#else
517+
if (p_feature == "nothreads") {
518+
return true;
519+
}
516520
#endif
517521

518522
if (_check_internal_feature_support(p_feature)) {

0 commit comments

Comments
 (0)