From 12a7f15bdc2817b5a77f0f2b43fb318bb5160e40 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Fri, 15 Sep 2017 13:29:29 -0300 Subject: Fix compile error on gd_native_library_editor.cpp with tools=no --- modules/gdnative/gd_native_library_editor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/gdnative/gd_native_library_editor.cpp b/modules/gdnative/gd_native_library_editor.cpp index 8aa931d6c9..2da9d461d6 100644 --- a/modules/gdnative/gd_native_library_editor.cpp +++ b/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 -- cgit v1.2.3