Commit d6e46f7a authored by Benito van der Zander's avatar Benito van der Zander Committed by Erik Verbruggen

add always defined macro Q_CREATOR_RUN to cpp parser

Merge-request: 336
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@nokia.com>

Change-Id: Iefd0c60bb3e78047e28dcff33cc62c15ed11f711
Reviewed-on: http://codereview.qt-project.org/4292Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristian Kamm <christian.d.kamm@nokia.com>
parent ca350468
......@@ -1375,9 +1375,10 @@ void Preprocessor::processIfdef(bool checkUndefined,
} else if (env->isBuiltinMacro(macroName)) {
value = true;
} else if (macroName == "Q_CREATOR_RUN") {
value = true;
}
if (checkUndefined)
value = ! value;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment