diff options
| author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-07-20 14:26:46 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-07-20 15:52:26 +0200 |
| commit | ec679dfffa15ac531e46df8b72aa414ef9c90cab (patch) | |
| tree | 9bdc347acf5eaafdb2dd24ecc391e83190e08915 /modules/mono/class_db_api_json.h | |
| parent | 7f3490c5e118b10f444edd8e7e8cdbc85df84085 (diff) | |
| download | redot-engine-ec679dfffa15ac531e46df8b72aa414ef9c90cab.tar.gz | |
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 |
