Skip to content

Comments

Fix linking [macOS]; fix compiling for aarch64#27

Open
ichordev wants to merge 1 commit intoParticlePeter:masterfrom
ichordev:patch-1
Open

Fix linking [macOS]; fix compiling for aarch64#27
ichordev wants to merge 1 commit intoParticlePeter:masterfrom
ichordev:patch-1

Conversation

@ichordev
Copy link

Same changes as ParticlePeter/V-Erupt#5.
Vulkan uses _T instead of _handle, so when linking (e.g. for using ErupteD in a static library with extern(C++) declarations) the mangling is incorrect, and the linker fails. This has only been tested on macOS, but should be fine for every other platform.

Additionally, I changed version(x86_64) to version(D_LP64). Without this change, aarch64 was treated the same way as a 32-bit platform, which it is not!

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