Skip to content

Commit 14c403a

Browse files
authored
Merge pull request #454 from schmrlng/system_header_overrides
Move user override for standard headers to take precedence over all others
2 parents f7ab072 + 63bfb5b commit 14c403a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/initialization.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,10 @@ function collectClangHeaders!(headers)
383383
end
384384

385385
function collectAllHeaders!(headers, nostdcxx)
386-
nostdcxx || collectStdHeaders!(headers)
387386
for header in split(get(ENV, "CXXJL_HEADER_DIRS", ""), ":")
388387
isempty(header) || push!(headers, (header, C_System))
389388
end
389+
nostdcxx || collectStdHeaders!(headers)
390390
collectClangHeaders!(headers)
391391
headers
392392
end

0 commit comments

Comments
 (0)