Skip to content

Commit

Permalink
msvc case in get_default_include_paths
Browse files Browse the repository at this point in the history
  • Loading branch information
van800 committed Mar 3, 2025
1 parent b6b5bfc commit 636e6aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -1569,4 +1569,6 @@ def get_default_include_paths(env):
ret = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)
output = ret.stdout
match = re.search(r"#include <\.\.\.> search starts here:([\S\s]*)End of search list.", output)
if not match:
return [] #msvc case
return [x.strip() for x in match[1].strip().splitlines()]

0 comments on commit 636e6aa

Please # to comment.