summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2017-09-15 13:29:29 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2017-09-15 13:29:29 -0300
commit12a7f15bdc2817b5a77f0f2b43fb318bb5160e40 (patch)
tree1445e60c6e3c415b72dd40de9022aceacacc9b75
parent6b729726e0c848e2a60eb72782315a883526c913 (diff)
Fix compile error on gd_native_library_editor.cpp with tools=no
-rw-r--r--modules/gdnative/gd_native_library_editor.cpp2
1 files changed, 2 insertions, 0 deletions
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