File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2929 outp .write ("#ifndef _" + guardSuffix + "_BUILTINRESOURCEDATA_H_\n " )
3030 outp .write ("#define _" + guardSuffix + "_BUILTINRESOURCEDATA_H_\n " )
3131
32- outp .write ("#ifdef _WIN32 // Visual Studio define \n " )
32+ outp .write ("#ifdef __INTELLISENSE__ \n " )
3333 outp .write ("#include <codeanalysis\warnings.h>\n " )
3434 outp .write ("#pragma warning( push )\n " )
3535 outp .write ("#pragma warning ( disable : ALL_CODE_ANALYSIS_WARNINGS )\n " )
36- outp .write ("#endif // _WIN32 \n " )
36+ outp .write ("#endif // __INTELLISENSE__ \n " )
3737
3838 outp .write ("#include <stdlib.h>\n " )
3939 outp .write ("#include <cstdint>\n " )
8585
8686 outp .write ("\n \t }\n " )
8787
88- outp .write ("#ifdef _WIN32 \n " )
88+ outp .write ("#ifdef __INTELLISENSE__ \n " )
8989 outp .write ("#pragma warning( pop )\n " )
90- outp .write ("#endif // _WIN32 \n " )
90+ outp .write ("#endif // __INTELLISENSE__ \n " )
9191
9292 outp .write ("#endif // _" + guardSuffix + "_BUILTINRESOURCEDATA_H_" )
9393
You can’t perform that action at this time.
0 commit comments