Add nothreads
feature tag to signify lack of THREADS_ENABLED
This commit is contained in:
parent
04bf7d4cad
commit
53d3d66f9f
@ -513,6 +513,10 @@ bool OS::has_feature(const String &p_feature) {
|
|||||||
if (p_feature == "threads") {
|
if (p_feature == "threads") {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
if (p_feature == "nothreads") {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (_check_internal_feature_support(p_feature)) {
|
if (_check_internal_feature_support(p_feature)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user