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 years ago
parent
commit
f2d88d8131
1 changed files with 2 additions and 0 deletions
  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