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.h | |
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.h')
-rw-r--r-- | modules/mono/class_db_api_json.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/mono/class_db_api_json.h b/modules/mono/class_db_api_json.h index 0aa9c20930..ddfe2debea 100644 --- a/modules/mono/class_db_api_json.h +++ b/modules/mono/class_db_api_json.h @@ -31,9 +31,16 @@ #ifndef CLASS_DB_API_JSON_H #define CLASS_DB_API_JSON_H +// 'core/method_bind.h' defines DEBUG_METHODS_ENABLED, but it looks like we +// cannot include it here. That's why we include it through 'core/class_db.h'. #include "core/class_db.h" + +#ifdef DEBUG_METHODS_ENABLED + #include "core/ustring.h" void class_db_api_to_json(const String &p_output_file, ClassDB::APIType p_api); +#endif // DEBUG_METHODS_ENABLED + #endif // CLASS_DB_API_JSON_H |