diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-09-16 18:55:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-16 18:55:42 +0200 |
commit | f2d88d81317c9a092ce57f13bc99e67bf8148a5e (patch) | |
tree | 0d807defb932a842a8eacd49f94014ff34154e80 | |
parent | 82f9836a1c178700aa3a7470eda4c40c28310841 (diff) | |
parent | 12a7f15bdc2817b5a77f0f2b43fb318bb5160e40 (diff) |
Merge pull request #11298 from marcelofg55/fix_gdnative_compile
Fix compile error on gd_native_library_editor.cpp with tools=no
-rw-r--r-- | modules/gdnative/gd_native_library_editor.cpp | 2 |
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 |