Don't hide windows.h in files that using ege lib
This commit is contained in:
parent
48e6dbc024
commit
9e5fd90196
|
@ -337,8 +337,8 @@ void resetCppParser(std::shared_ptr<CppParser> parser, int compilerSetIndex)
|
|||
for (QString define:compilerSet->defines(parser->language()==ParserLanguage::CPlusPlus)) {
|
||||
parser->addHardDefineByLine(define);
|
||||
}
|
||||
// add a Red Pand C++ 's own macro
|
||||
parser->addHardDefineByLine("#define EGE_FOR_AUTO_CODE_COMPLETETION_ONLY");
|
||||
// // add a Red Pand C++ 's own macro
|
||||
// parser->addHardDefineByLine("#define EGE_FOR_AUTO_CODE_COMPLETETION_ONLY");
|
||||
// add C/C++ default macro
|
||||
parser->addHardDefineByLine("#define __FILE__ 1");
|
||||
parser->addHardDefineByLine("#define __LINE__ 1");
|
||||
|
|
Loading…
Reference in New Issue