diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-08-26 17:46:57 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-08-26 17:46:57 +0200 |
commit | aa805e269940125f6e439cd994e8014ef08186b1 (patch) | |
tree | 7031d62c36cad5edcc6118d3d066f48d86c754f3 /modules/mono/mono_gd | |
parent | 6d6d4371467a94c01418e9d475e994fe61b7b4d0 (diff) |
Fix 'android_mono_config.gen.cpp' not compiled first time it's generated
Diffstat (limited to 'modules/mono/mono_gd')
-rw-r--r-- | modules/mono/mono_gd/android_mono_config.h | 13 | ||||
-rw-r--r-- | modules/mono/mono_gd/gd_mono.cpp | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/android_mono_config.h b/modules/mono/mono_gd/android_mono_config.h new file mode 100644 index 0000000000..78d3fdec98 --- /dev/null +++ b/modules/mono/mono_gd/android_mono_config.h @@ -0,0 +1,13 @@ +#ifndef ANDROID_MONO_CONFIG_H +#define ANDROID_MONO_CONFIG_H + +#ifdef ANDROID_ENABLED + +#include "core/ustring.h" + +// This function is defined in an auto-generated source file +String get_godot_android_mono_config(); + +#endif // ANDROID_ENABLED + +#endif // ANDROID_MONO_CONFIG_H diff --git a/modules/mono/mono_gd/gd_mono.cpp b/modules/mono/mono_gd/gd_mono.cpp index eed8812305..aa69803a58 100644 --- a/modules/mono/mono_gd/gd_mono.cpp +++ b/modules/mono/mono_gd/gd_mono.cpp @@ -56,7 +56,7 @@ #endif #ifdef ANDROID_ENABLED -#include "android_mono_config.gen.h" +#include "android_mono_config.h" #endif GDMono *GDMono::singleton = NULL; |