Skip to content

Pass the resolved path of <path>/importc.h/../include to the C preprocessor as an include path.#5169

Draft
just-harry wants to merge 1 commit into
ldc-developers:masterfrom
just-harry:importc-include-path
Draft

Pass the resolved path of <path>/importc.h/../include to the C preprocessor as an include path.#5169
just-harry wants to merge 1 commit into
ldc-developers:masterfrom
just-harry:importc-include-path

Conversation

@just-harry

@just-harry just-harry commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

This PR pre-emptively implements a change (which has not yet been merged, so this PR is a draft) to mirror the behaviour of DMD.

See https://github.com/dlang/dmd/pull/16372/changes#r3523990953 for more context.

The formatting changes are from clang-format.

I've tested this on Windows, but not on a POSIX system.

…rocessor as an include path.

In preparation for DRuntime putting its own C headers there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant