瀏覽代碼

Fix build error for windows mono export templates

Ignacio Etcheverry 7 年之前
父節點
當前提交
9475e86078
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/mono/mono_gd/gd_mono.h

+ 1 - 1
modules/mono/mono_gd/gd_mono.h

@@ -185,7 +185,7 @@ public:
 	_FORCE_INLINE_ GDMonoAssembly *get_editor_tools_assembly() const { return editor_tools_assembly; }
 #endif
 
-#ifdef WINDOWS_ENABLED
+#if defined(WINDOWS_ENABLED) && defined(TOOLS_ENABLED)
 	const MonoRegInfo &get_mono_reg_info() { return mono_reg_info; }
 #endif