summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-12-16 21:08:29 +0100
committerGitHub <noreply@github.com>2019-12-16 21:08:29 +0100
commit3aa46a58cd3ae5f327929d127ac5fef0733176c9 (patch)
tree1ce1abc0475434cdfdbf2c51677cb58235c2ede0
parent21dec856f2a7482fc69e18ffc60f64e90e10fcc5 (diff)
parenta866028a7a955aee90b1356f5c94acf8bc2b2b19 (diff)
Merge pull request #34380 from akien-mga/mono-threads-suspend-windows
Mono: Enable threads suspend workaround on Windows
-rw-r--r--modules/mono/mono_gd/gd_mono.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono.cpp b/modules/mono/mono_gd/gd_mono.cpp
index 33ba877352..69634eccf4 100644
--- a/modules/mono/mono_gd/gd_mono.cpp
+++ b/modules/mono/mono_gd/gd_mono.cpp
@@ -356,7 +356,7 @@ void GDMono::initialize() {
}
#endif
-#if !defined(WINDOWS_ENABLED) && !defined(NO_MONO_THREADS_SUSPEND_WORKAROUND)
+#if !defined(NO_MONO_THREADS_SUSPEND_WORKAROUND)
// FIXME: Temporary workaround. See: https://github.com/godotengine/godot/issues/29812
if (!OS::get_singleton()->has_environment("MONO_THREADS_SUSPEND")) {
OS::get_singleton()->set_environment("MONO_THREADS_SUSPEND", "preemptive");