Browse Source

Merge pull request #11298 from marcelofg55/fix_gdnative_compile

Fix compile error on gd_native_library_editor.cpp with tools=no
Rémi Verschelde 8 năm trước cách đây
mục cha
commit
f2d88d8131
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      modules/gdnative/gd_native_library_editor.cpp

+ 2 - 0
modules/gdnative/gd_native_library_editor.cpp

@@ -1,3 +1,4 @@
+#ifdef TOOLS_ENABLED
 #include "gd_native_library_editor.h"
 #include "gdnative.h"
 
@@ -118,3 +119,4 @@ GDNativeLibraryEditor::GDNativeLibraryEditor()
 	updating=false;
 	libraries->connect("item_edited",this,"_item_edited");
 }
+#endif