diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-12-16 15:40:26 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-12-16 15:40:26 +0100 |
commit | a866028a7a955aee90b1356f5c94acf8bc2b2b19 (patch) | |
tree | 8800d770d52f7d2d6888fd8f2eba2f431876d785 /modules/mono/mono_gd/gd_mono.cpp | |
parent | 817165b96cd04adb29e4eef797f9dcc6dd9d022f (diff) | |
download | redot-engine-a866028a7a955aee90b1356f5c94acf8bc2b2b19.tar.gz |
Mono: Enable threads suspend workaround on Windows
This appears to be necessary for current official builds cross-compiled
with MinGW from Linux, using Mono 6.6.0.160.
Follow-up to #31784, see #29812 for details.
Diffstat (limited to 'modules/mono/mono_gd/gd_mono.cpp')
-rw-r--r-- | modules/mono/mono_gd/gd_mono.cpp | 2 |
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"); |