Merge pull request #12800 from hoelzl/pr-no-pp-directive-in-macro-arguments

Remove preprocessor directives from macro arguments
This commit is contained in:
Rémi Verschelde 2017-11-10 10:18:52 +01:00 committed by GitHub
commit 118122be3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -365,14 +365,14 @@ GodotSharpBuilds::GodotSharpBuilds() {
// Build tool settings
EditorSettings *ed_settings = EditorSettings::get_singleton();
EDITOR_DEF("mono/builds/build_tool",
#ifdef WINDOWS_ENABLED
// TODO: Default to MSBUILD_MONO if its csc.exe issue is fixed in the installed mono version
MSBUILD
EDITOR_DEF("mono/builds/build_tool", MSBUILD);
#else
MSBUILD_MONO
EDITOR_DEF("mono/builds/build_tool", MSBUILD_MONO);
#endif
);
ed_settings->add_property_hint(PropertyInfo(Variant::INT, "mono/builds/build_tool", PROPERTY_HINT_ENUM,
#ifdef WINDOWS_ENABLED
"MSBuild (Mono),MSBuild (System)"