forked from qt-creator/qt-creator
C++: fix Q_CREATOR_RUN macro handling
Moved it from the handleIfDefDirective to the pre-defined macros, so that #if defined() can also see it. Task-number: QTCREATORBUG-9322 Change-Id: Icbecad5c885dd2374b559969c99631c3ddc73844 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Nikolai Kosjar
parent
ce4edd7930
commit
10725c086b
@@ -143,6 +143,7 @@ protected:
|
||||
|
||||
static const char pp_configuration[] =
|
||||
"# 1 \"<configuration>\"\n"
|
||||
"#define Q_CREATOR_RUN 1\n"
|
||||
"#define __cplusplus 1\n"
|
||||
"#define __extension__\n"
|
||||
"#define __context__\n"
|
||||
|
||||
Reference in New Issue
Block a user