summaryrefslogtreecommitdiff
path: root/core/os/thread.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-03 14:51:02 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-03 14:51:02 +0200
commitd598fff7c24ef675e7bbb794f7abe80d1d24220b (patch)
tree562767284470e5424dc9ebed394a1c400895900b /core/os/thread.cpp
parent5b47bb8446afbbbf9d6eeec81008d5b430b59706 (diff)
parent54418ea659061edccdf1ac16470505542dcc33f9 (diff)
Merge pull request #66803 from akien-mga/core-remove-NO_THREADS
Remove `NO_THREADS` fallback code, Godot 4 requires thread support
Diffstat (limited to 'core/os/thread.cpp')
-rw-r--r--core/os/thread.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/os/thread.cpp b/core/os/thread.cpp
index c8072b7280..e8ebb4597f 100644
--- a/core/os/thread.cpp
+++ b/core/os/thread.cpp
@@ -34,9 +34,6 @@
#include "thread.h"
#include "core/object/script_language.h"
-
-#if !defined(NO_THREADS)
-
#include "core/templates/safe_refcount.h"
Error (*Thread::set_name_func)(const String &) = nullptr;
@@ -128,5 +125,4 @@ Thread::~Thread() {
}
}
-#endif
#endif // PLATFORM_THREAD_OVERRIDE