Skip to content

Commit 53d3d66

Browse files
committed
Add nothreads feature tag to signify lack of THREADS_ENABLED
1 parent 04bf7d4 commit 53d3d66

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)