summaryrefslogtreecommitdiff
path: root/modules/mono/mono_gd/gd_mono.h
diff options
context:
space:
mode:
authorIgnacio Etcheverry <neikeq@users.noreply.github.com>2019-01-22 19:01:52 +0100
committerGitHub <noreply@github.com>2019-01-22 19:01:52 +0100
commit6a187f639511726583db05f8cd80957b1f936d03 (patch)
treecb2c7522958eeb35745b8a67126c9045ab23cdc4 /modules/mono/mono_gd/gd_mono.h
parentcd45f05f7e930869fb8d58c62e5f866470b73e1a (diff)
parentbc8b61bb069a9229dbceb61fedb8308c5d1e6a68 (diff)
Merge pull request #25235 from neikeq/pp
Mono: Fix hot reload build errors and cleanup
Diffstat (limited to 'modules/mono/mono_gd/gd_mono.h')
-rw-r--r--modules/mono/mono_gd/gd_mono.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono.h b/modules/mono/mono_gd/gd_mono.h
index 6a00b287b0..13de3061b3 100644
--- a/modules/mono/mono_gd/gd_mono.h
+++ b/modules/mono/mono_gd/gd_mono.h
@@ -95,7 +95,9 @@ class GDMono {
#endif
bool core_api_assembly_out_of_sync;
+#ifdef TOOLS_ENABLED
bool editor_api_assembly_out_of_sync;
+#endif
GDMonoAssembly *corlib_assembly;
GDMonoAssembly *core_api_assembly;
@@ -193,7 +195,7 @@ public:
GDMonoClass *get_class(MonoClass *p_raw_class);
-#ifdef TOOLS_ENABLED
+#ifdef GD_MONO_HOT_RELOAD
Error reload_scripts_domain();
#endif