You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Remove NO_THREADS fallback code, Godot 4 requires thread support
This also removes `OS::can_use_threads` from the public API since it's always true.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#if (defined(UNIX_ENABLED) || defined(PTHREAD_ENABLED)) && !defined(NO_THREADS)
|
||||
#if defined(UNIX_ENABLED) || defined(PTHREAD_ENABLED)
|
||||
|
||||
#include "thread_posix.h"
|
||||
|
||||
@@ -73,4 +73,4 @@ void init_thread_posix() {
|
||||
Thread::_set_platform_funcs(&set_name, nullptr);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // UNIX_ENABLED || PTHREAD_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user