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 29
29
outp .write ("#ifndef _" + guardSuffix + "_BUILTINRESOURCEDATA_H_\n " )
30
30
outp .write ("#define _" + guardSuffix + "_BUILTINRESOURCEDATA_H_\n " )
31
31
32
- outp .write ("#ifdef _WIN32 // Visual Studio define \n " )
32
+ outp .write ("#ifdef __INTELLISENSE__ \n " )
33
33
outp .write ("#include <codeanalysis\warnings.h>\n " )
34
34
outp .write ("#pragma warning( push )\n " )
35
35
outp .write ("#pragma warning ( disable : ALL_CODE_ANALYSIS_WARNINGS )\n " )
36
- outp .write ("#endif // _WIN32 \n " )
36
+ outp .write ("#endif // __INTELLISENSE__ \n " )
37
37
38
38
outp .write ("#include <stdlib.h>\n " )
39
39
outp .write ("#include <cstdint>\n " )
85
85
86
86
outp .write ("\n \t }\n " )
87
87
88
- outp .write ("#ifdef _WIN32 \n " )
88
+ outp .write ("#ifdef __INTELLISENSE__ \n " )
89
89
outp .write ("#pragma warning( pop )\n " )
90
- outp .write ("#endif // _WIN32 \n " )
90
+ outp .write ("#endif // __INTELLISENSE__ \n " )
91
91
92
92
outp .write ("#endif // _" + guardSuffix + "_BUILTINRESOURCEDATA_H_" )
93
93
You can’t perform that action at this time.
0 commit comments