From 9e5fd901964f9bb3036b700e43331ef4041d0cc1 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Mon, 3 Jul 2023 07:11:51 +0800 Subject: [PATCH] Don't hide windows.h in files that using ege lib --- RedPandaIDE/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RedPandaIDE/utils.cpp b/RedPandaIDE/utils.cpp index b2c72d55..97ddd23f 100644 --- a/RedPandaIDE/utils.cpp +++ b/RedPandaIDE/utils.cpp @@ -337,8 +337,8 @@ void resetCppParser(std::shared_ptr 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");