Add "__GNUC__" macro by default for VSCode

https://github.com/platformio/platformio-vscode-ide/issues/54
This commit is contained in:
Ivan Kravets
2017-11-29 16:07:11 +02:00
parent 3c6bd9824e
commit 8f97181ea7
3 changed files with 13 additions and 2 deletions

View File

@@ -91,7 +91,9 @@ def DumpIDEData(env):
"gdb_path":
util.where_is_program(env.subst("$GDB"), env.subst("${ENV['PATH']}")),
"prog_path":
env.subst("$PROG_PATH")
env.subst("$PROG_PATH"),
"compiler_type":
env.GetCompilerType()
}
env_ = env.Clone()