summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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