Add "__GNUC__" macro by default for VSCode
https://github.com/platformio/platformio-vscode-ide/issues/54
This commit is contained in:
@@ -199,7 +199,8 @@ def _delete_file(path):
|
||||
pass
|
||||
|
||||
|
||||
def GetCompilerType(env):
|
||||
@util.memoized
|
||||
def _get_compiler_type(env):
|
||||
try:
|
||||
sysenv = environ.copy()
|
||||
sysenv['PATH'] = str(env['ENV']['PATH'])
|
||||
@@ -216,6 +217,10 @@ def GetCompilerType(env):
|
||||
return None
|
||||
|
||||
|
||||
def GetCompilerType(env):
|
||||
return _get_compiler_type(env)
|
||||
|
||||
|
||||
def GetActualLDScript(env):
|
||||
|
||||
def _lookup_in_ldpath(script):
|
||||
|
||||
Reference in New Issue
Block a user