Merge pull request #27711 from neikeq/ifdef-clang-tidy

Replace a few #if/#elif with #ifdef and "#elif defined"
This commit is contained in:
Rémi Verschelde 2019-04-08 12:24:30 +02:00 committed by GitHub
commit 918de768a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 17 additions and 17 deletions

View file

@ -597,7 +597,7 @@ Error GDScript::reload(bool p_keep_state) {
return err;
}
}
#if DEBUG_ENABLED
#ifdef DEBUG_ENABLED
for (const List<GDScriptWarning>::Element *E = parser.get_warnings().front(); E; E = E->next()) {
const GDScriptWarning &warning = E->get();
if (ScriptDebugger::get_singleton()) {