diff options
author | Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com> | 2019-07-20 16:20:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-20 16:20:49 +0200 |
commit | 437939589234559febabb9a4c392145521a9c3a5 (patch) | |
tree | d38b344c599ac26f119d3cdfd543d3cf498c0374 /modules/mono/class_db_api_json.cpp | |
parent | 60efd67034724f3563d46e9ff3fd2db34763535b (diff) | |
parent | ec679dfffa15ac531e46df8b72aa414ef9c90cab (diff) |
Merge pull request #30710 from neikeq/issue-30526
Fix mono module build errors for release templates
Diffstat (limited to 'modules/mono/class_db_api_json.cpp')
-rw-r--r-- | modules/mono/class_db_api_json.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mono/class_db_api_json.cpp b/modules/mono/class_db_api_json.cpp index 71ccdb7aab..4a6637434a 100644 --- a/modules/mono/class_db_api_json.cpp +++ b/modules/mono/class_db_api_json.cpp @@ -30,6 +30,8 @@ #include "class_db_api_json.h" +#ifdef DEBUG_METHODS_ENABLED + #include "core/io/json.h" #include "core/os/file_access.h" #include "core/project_settings.h" @@ -240,3 +242,5 @@ void class_db_api_to_json(const String &p_output_file, ClassDB::APIType p_api) { print_line(String() + "ClassDB API JSON written to: " + ProjectSettings::get_singleton()->globalize_path(p_output_file)); } + +#endif // DEBUG_METHODS_ENABLED |