Mono: Fix build with tools=no or target=release
This commit is contained in:
parent
6e6b455d1f
commit
fb63ee52fb
2 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,7 @@
|
||||||
|
|
||||||
#define CACHED_STRING_NAME(m_var) (CSharpLanguage::get_singleton()->get_string_names().m_var)
|
#define CACHED_STRING_NAME(m_var) (CSharpLanguage::get_singleton()->get_string_names().m_var)
|
||||||
|
|
||||||
|
#ifdef TOOLS_ENABLED
|
||||||
static bool _create_project_solution_if_needed() {
|
static bool _create_project_solution_if_needed() {
|
||||||
|
|
||||||
String sln_path = GodotSharpDirs::get_project_sln_path();
|
String sln_path = GodotSharpDirs::get_project_sln_path();
|
||||||
|
@ -65,6 +66,7 @@ static bool _create_project_solution_if_needed() {
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
CSharpLanguage *CSharpLanguage::singleton = NULL;
|
CSharpLanguage *CSharpLanguage::singleton = NULL;
|
||||||
|
|
||||||
|
|
|
@ -119,7 +119,9 @@ void SignalAwaiterHandle::_bind_methods() {
|
||||||
SignalAwaiterHandle::SignalAwaiterHandle(uint32_t p_managed_handle)
|
SignalAwaiterHandle::SignalAwaiterHandle(uint32_t p_managed_handle)
|
||||||
: MonoGCHandle(p_managed_handle) {
|
: MonoGCHandle(p_managed_handle) {
|
||||||
|
|
||||||
|
#ifdef DEBUG_ENABLED
|
||||||
conn_target_id = 0;
|
conn_target_id = 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
SignalAwaiterHandle::~SignalAwaiterHandle() {
|
SignalAwaiterHandle::~SignalAwaiterHandle() {
|
||||||
|
|
Loading…
Reference in a new issue